>>> Building on exopi-6 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] Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl Woken up math/ntl (Junk lock failure for exopi-6 at 1713348507.09545) Received IO (Junk lock obtained for exopi-6 at 1713348510.96) 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 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 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 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 1713348516.25 last junk was in games/xpilot /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 >>> Running show-prepare-results in graphics/tgif at 1713348519.58 ===> graphics/tgif ===> Building from scratch tgif-4.2.5p0 ===> tgif-4.2.5p0 depends on: imake-* -> imake-1.0.9 ===> tgif-4.2.5p0 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> Verifying specs: X11 Xau Xdmcp Xext c m z ===> found X11.18.0 Xau.10.0 Xdmcp.11.0 Xext.13.0 c.100.0 m.10.1 z.7.0 imake-1.0.9 imake-cf-1.0.7p0 (Junk lock released for exopi-6 at 1713348521.40) distfiles size=3093619 >>> Running build in graphics/tgif at 1713348521.45 ===> 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) tgif-QPL-4.2.5.tar.gz: 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 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 tgif.c:123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ 6 warnings generated. align.c:65:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void ReadArcObj(FP, Inbuf, ObjPtr) ^ arc.c:2044:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc.c:2044:26: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_WARN_INCONSIST_ARC_DIR)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc.c:2053:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] char ch; ^ ./auxtext.e:43:33: note: previous declaration is here 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 C2x [-Wdeprecated-non-prototype] int InputOctalString(pszBuf, pnBufSize) ^ auxtext.c:116:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_INPUT_STR)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ auxtext.c:116:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] sprintf(gszMsgBox, TgLoadString(STID_CANT_ACQUIRE_X_SELECTION)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cutpaste.c:203:26: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_COPY_FAILED_OBJ_MAYBE_TOO_BIG)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cutpaste.c:352:29: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cutpaste.c:355:29: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void EditIndexedAttrInEditor(index) ^ drawing.c:3342:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drawing.c:3342:22: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] void EditIndexedAttrGroupInEditor(index) ^ drawing.c:3463:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(title, TgLoadString(STID_EDIT_UNNAME_ATTR_DOTS)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drawing.c:3463:22: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int DoSetTextFillPatternColor(ObjPtr) ^ edit.c:1141:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_VERTEX_AT_3_OCLOCK_YNC)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:1141:23: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int PropertiesMenu(X, Y, TrackMenubar) ^ edit.c:6107:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_SHADOW_FOUND)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit.c:6107:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] FILE *ErrorInGetTiffEPSIInfo(fp, eps_fp, fname) ^ eps.c:673:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, TgLoadString(STID_FAIL_TO_WRITE_TO_STDOUT)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eps.c:673:29: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] int AppendToTmpStr2(psz1, psz2, tg2) ^ exec.c:518:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void JustReadFileIntoAttr(FP, attr_ptr, attr_owner_obj) ^ exec.c:1756:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_USER_INTR)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ exec.c:1756:29: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int ImportGivenFile(file_name, group_and_lock, highlight) ^ file.c:4379:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_IMPORT)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:4379:29: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int ClearBgPixmapInfo(nRedraw) ^ file.c:4618:11: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!MyReadPixmapFile(tmp_xpm_fname, &image_w, &image_h, &w, &h, &pixmap, ^ file.c:4618:11: note: add parentheses after the '!' to evaluate the comparison first if (!MyReadPixmapFile(tmp_xpm_fname, &image_w, &image_h, &w, &h, &pixmap, ^ ( file.c:4618:11: note: add parentheses around left hand side expression to silence this warning if (!MyReadPixmapFile(tmp_xpm_fname, &image_w, &image_h, &w, &h, &pixmap, ^ ( file.c:4722:33: warning: parameter 'GzippedObjFile' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] int LoadFile(FullName, ObjFile, GzippedObjFile) ^ file.c:4722:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int LoadFile(FullName, ObjFile, GzippedObjFile) ^ file.c:4865:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_FILE_CORRUPTED_ABORT_OPEN)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:4865:29: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int FixUpSVGFile(tmpsvg_fname, svg_fname) ^ file.c:6612:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_NO_OBJ_TO_EXPORT)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:6612:29: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_NO_CUR_FILE_CANNOT_GEN_TEXT)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:7649:32: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void OpenProc(psz_fname_spec) ^ file.c:8678:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_SELECT_FILE_AS_TEMPLATE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:8678:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void GetRightMarginSpec(buf) ^ grid.c:361:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_RIGHT_MARGIN_DISABLED)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grid.c:361:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int MapTargetColors(xpm_ptr) ^ imgproc.c:4547:24: warning: too few arguments in call to 'FreeTargetColors' FreeTargetColors(); ~~~~~~~~~~~~~~~~ ^ imgproc.c:4579:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int GetMobileWebSafeIntensity(index) ^ imgproc.c:4695:21: warning: too few arguments in call to 'FreeTargetColors' FreeTargetColors(); ~~~~~~~~~~~~~~~~ ^ imgproc.c:4723:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ParseDefaultColorLevels(buf, p_xcolor) ^ imgproc.c:4863:21: warning: too few arguments in call to 'FreeTargetColors' FreeTargetColors(); ~~~~~~~~~~~~~~~~ ^ imgproc.c:4953:21: warning: too few arguments in call to 'FreeTargetColors' FreeTargetColors(); ~~~~~~~~~~~~~~~~ ^ imgproc.c:4969:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int ContinueReplaceColor(obj_ptr) ^ imgproc.c:9105:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(gszMsgBox, sizeof(gszMsgBox), TgLoadString(STID_CANNOT_FIND_GOOD_TRANSPIX)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imgproc.c:9105:52: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int ContinueFloodFill(obj_ptr) ^ imgproc.c:9756:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_FLOOD_REPLACE_DISABLED)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imgproc.c:9756:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] int FinishImport(remote_file, remote_tmp_fname, local_fname, which, pn_image_w, ^ import.c:1373:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int ConvertOtherToXpm(pszFile, pszFormat, pszXpmPath, xpm_path_sz) ^ import.c:2677:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(szTop, TgLoadString(STID_SEL_ANIM_GIF_FILE_TO_IMPORT)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ import.c:2677:19: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void UserRedrawEventHandler(input) ^ msg.c:1210:8: warning: comparison of array 'redraw_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int ParsePagesSpec(spec, pspi) ^ page.c:1586:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(spi.num_pages_specified > 1 ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ page.c:1586:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void PageEventHandler(input) ^ page.c:2131:8: warning: comparison of array 'leftend_bits' equal to a null pointer is always false [-Wtautological-pointer-compare] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void ChangeAllSelLineType(TypeIndex, HighLight) ^ pattern.c:1741:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRAIGHT)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:1741:26: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_SPLINE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:1744:26: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_INTSPLINE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:1747:26: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_LINE_TYPE_IS_STRUCT_SPLINE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:1750:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_DASH_PAT_NO_DASH)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:2293:29: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_NONE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:2510:29: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_SOLID)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:2513:29: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadCachedString(CSTID_SET_PEN_TO_BACKGROUND)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern.c:2516:29: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void SetSelLineWidth(pszBuf) ^ 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 62 warnings generated. pin.c:64:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] unsigned char trans_color_pixel_r, trans_color_pixel_g, trans_color_pixel_b; ^ ./pngtrans.e:35:19: note: previous declaration is here 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] unsigned char trans_color_pixel_r, trans_color_pixel_g, trans_color_pixel_b; ^ ./pngtrans.e:36:19: note: previous declaration is here 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] unsigned char trans_color_pixel_r, trans_color_pixel_g, trans_color_pixel_b; ^ ./pngtrans.e:37:19: note: previous declaration is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void ReadPolyObj(FP, Inbuf, ObjPtr) ^ poly.c:5509:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadCachedString(CSTID_BAD_SMOOTHHINGE_POLY_FIXED)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ poly.c:5509:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void EraseStructSplineLinesForCont(OrigX, OrigY, grid_x, grid_y, sv, sn, sv2, ^ polygon.c:793:58: warning: too few arguments in call to 'DoPolygonMeasureCursor' ABS_Y(grid_y), 0, 0, POLYGON_ERASE, POLYGON_DRAG); ^ polygon.c:833:72: warning: too few arguments in call to 'DoPolygonMeasureCursor' ABS_SIZE(abs(grid_y-LastY)), POLYGON_ERASE, POLYGON_DRAG); ^ polygon.c:928:71: warning: too few arguments in call to 'DoPolygonMeasureCursor' ABS_SIZE(abs(grid_y-LastY)), POLYGON_DRAW, POLYGON_DRAG); ^ polygon.c:934:75: warning: too few arguments in call to 'DoPolygonMeasureCursor' ABS_SIZE(abs(grid_y-LastY)), POLYGON_ERASE, POLYGON_DRAG); ^ polygon.c:950:72: warning: too few arguments in call to 'DoPolygonMeasureCursor' 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 C2x [-Wdeprecated-non-prototype] 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] pev, num_pts, psv, sn, psv2, sn2, pipt_prev, pipt_first) ^ polygon.c:1008:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] unsigned char byte; ^ ./raster.e:101:58: note: previous declaration is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] void DumpRectPath(FP, LtX, LtY, RbX, RbY, Indent, LastLF) ^ rect.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] char *filename, show_config_file; ^ ./rm_intrf.e:100:51: note: previous declaration is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] void DrawVRuleTick(YOff) ^ ruler.c:512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] int TgGetScrollHit(x, y, orientation, scroll_area_w, scroll_area_h, ^ scroll.c:153:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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] void TgDrawScrollBar(dpy, win, orientation, x_off, y_off, scroll_area_w, ^ scroll.c:209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] void ChangeScrollMode(ModeIndex) ^ scroll.c:1562:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_SMOOTH_SCROLL)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll.c:1562:26: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_WILL_UPD_WIN_JUMP_SCROLL)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll.c:1565:26: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_UPD_WIN_SCROLL)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll.c:1568:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void ContinueCreateShape(orig_x, orig_y) ^ shape.c:1114:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(objFill==NONEPAT ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shape.c:1114:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int ShapeMenu(X, Y, TrackMenubar) ^ 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 13 warnings generated. shortcut.c:493:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int CheckPortsAndBroadcastObj(ppAnchor, pnAnchorIsPoly, pnNumPorts, ^ special.c:1295:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_CONFLICT_SIG_NAME_ENT_NEW)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ special.c:1295:29: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ special.c:1298:29: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_PLS_ENT_SIG_NAME)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ special.c:1303:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] sprintf(&buf[cur_len], gszMsgBox); ^~~~~~~~~ special.c:3093:36: note: treat the string as an argument to avoid this sprintf(&buf[cur_len], gszMsgBox); ^ "%s", special.c:3130:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(showWireSignalName ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ special.c:3130:23: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] XPoint *MakeMultiSplinePolyVertex(Curved, N, Smooth, XOff, YOff, NumVs, Vs) ^ spline.c:797:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void FakeUserAgent(buf) ^ stream.c:672:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_ENTER_USERAGENT_FOR_HTTP)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:672:29: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_WILL_USE_DEF_USERAGENT_HTTP)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:688:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] void FakeReferer(buf) ^ stream.c:711:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_ENTER_REFERRER_FOR_HTTP)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:711:29: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_REFERRER_HTTP)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:730:26: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(gnHttpKeepAlive ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stream.c:741:23: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] void DoSizeAllSelToGivenWidthHeight(abs_w, abs_h, do_width, do_height) ^ stretch.c:4249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void AutoRotatePivotSubMenu(index) ^ stretch.c:7128:8: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!autoRotatePivot == index) return; ^ ~~ stretch.c:7128:8: note: add parentheses after the '!' to evaluate the comparison first if (!autoRotatePivot == index) return; ^ ( ) stretch.c:7128:8: note: add parentheses around left hand side expression to silence this warning 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] char *ExportFormatMenuLoadString(where_to_print, color_dump) ^ 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 17 warnings generated. tangram2.c:116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void Tangram2GenerateChain( args ) ^ tangram2.c:1799:26: warning: incompatible pointer types passing 'char[3][1024]' to parameter of type 'char *' [-Wincompatible-pointer-types] 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 C2x [-Wdeprecated-non-prototype] void Tangram2StartSimulator( args ) ^ tangram2.c:1847:26: warning: incompatible pointer types passing 'char[12][1024]' to parameter of type 'char *' [-Wincompatible-pointer-types] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] v_pad, btn_type, btn_style, state, font_style, str, pmosi) ^ 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] v_pad, btn_type, btn_style, state, font_style, str, pmosi) ^ tdgtbtn.c:490:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] v_pad, num_visible_lines, can_select, multicolor, auto_scroll_on_insert) ^ 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] v_pad, num_visible_lines, can_select, multicolor, auto_scroll_on_insert) ^ tdgtlist.c:1038:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int TdgtMsgGetState(pTdgtMsg) ^ 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 15 warnings generated. tdgtsedt.c:64:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void SetPixelFromRGB(pcwdi) ^ tgcwdl.c:388:47: warning: incompatible pointer types passing 'unsigned char *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] TidgetInfo *CreateTdgtColorWheelDialogBox(dpy, parent_win) ^ tgcwdl.c:1730:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tgcwdl.c:1730:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] TidgetInfo *CreateTdgtInsertSymbolDialogBox(dpy, parent_win) ^ tgisdl.c:811:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_COLOR_WHEEL_NOT_AVAIL)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tgisdl.c:811:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] skip_post_processing, click_time) ^ text.c:2057:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 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] sprintf(gszMsgBox, TgLoadString(STID_COPY_BUFFER_UPDATED)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:3754:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] direction, x, baseline_y, text_w, pn_max_len, pn_max_h) ^ text.c:4753:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_FAILED_NO_CONTTYPE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wb.c:2286:26: note: treat the string as an argument to avoid this 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] sprintf(gszMsgBox, TgLoadString(STID_JOIN_WB_IN_PROGRESS_FAILED)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wb.c:2515:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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] sprintf(gszMsgBox, TgLoadString(STID_ENTER_HTML_TEMPLATE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbitmap.c:150:26: note: treat the string as an argument to avoid this sprintf(gszMsgBox, TgLoadString(STID_ENTER_HTML_TEMPLATE)); ^ "%s", xbitmap.c:175:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_NO_HTML_TEMPLATE_FILE)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbitmap.c:175:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void SetXpmOutputVersion(xpm_output_version) ^ xbitmap.c:424:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(gszMsgBox, TgLoadString(STID_WILL_NOT_USE_SIMPLE_THRESHOLD)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbitmap.c:424:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] int FindTgVarType(buf) ^ xbitmap.c:3156:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(map_fp, TgLoadCachedString(CSTID_PARANED_UNKNOWN)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbitmap.c:3156:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 align.c(align.o:(DistrSelObjs)): warning: sprintf() is often misused, please use snprintf() attr.c(attr.o:(UpdateAttr)): warning: strcat() is almost always misused, please use strlcat() attr.c(attr.o:(ReadAttr)): warning: strcpy() is almost always misused, please use strlcpy() 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 1713348613.16 ===> 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 install -c -m 0444 tgif.Xdefaults /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif install -c -m 0444 tgificon.eps /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 + 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 + mkdir -p /exopi-obj/pobj/tgif-4.2.5/fake-amd64/usr/local/lib/X11/tgif/hicolor/128x128/apps 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|********************************************************** | 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 1713348623.04 ===> graphics/tgif ===> Cleaning for tgif-4.2.5p0 >>> Ended at 1713348624.00 max_stuck=7.64/waiting-for-lock #42=9.16/depends=3.25/show-prepare-results=1.96/build=91.57/package=9.75/clean=1.27