>>> Building on exopi-6 under lang/STk DIST = [lang/STk:STk-4.0.1.tar.gz] FULLPKGNAME = STk-4.0.1p19 distfiles size=3673684 >>> Running build in lang/STk at 1731965048.71 ===> lang/STk ===> Building from scratch STk-4.0.1p19 ===> Verifying specs: ICE SM X11 c m xcb ===> found ICE.11.0 SM.9.0 X11.18.2 c.100.3 m.10.1 xcb.4.1 ===> Checking files for STk-4.0.1p19 `/exopi-cvs/ports/distfiles/STk-4.0.1.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for STk-4.0.1p19 ===> Patching for STk-4.0.1p19 ===> Applying OpenBSD patch patch-Doc_Manual_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Install the custom macros to the right directory such that .so works. |--- Doc/Manual/Makefile.orig Fri Sep 3 22:21:32 1999 |+++ Doc/Manual/Makefile Mon Apr 20 14:07:05 2015 -------------------------- Patching file Doc/Manual/Makefile using Plan A... Hunk #1 succeeded at 53. done ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.in.orig Mon May 19 01:09:04 2003 |+++ Makefile.in Mon May 19 01:10:59 2003 -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 118. done ===> Applying OpenBSD patch patch-Mp_gmp-1_3_2_longlong_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Mp/gmp-1.3.2/longlong.h.orig 2004-01-06 03:26:51.000000000 +0100 |+++ Mp/gmp-1.3.2/longlong.h 2004-01-06 03:36:16.000000000 +0100 -------------------------- Patching file Mp/gmp-1.3.2/longlong.h using Plan A... Hunk #1 succeeded at 91. Hunk #2 succeeded at 100. Hunk #3 succeeded at 149. Hunk #4 succeeded at 158. Hunk #5 succeeded at 170. Hunk #6 succeeded at 179. Hunk #7 succeeded at 209. Hunk #8 succeeded at 218. Hunk #9 succeeded at 249. Hunk #10 succeeded at 279. Hunk #11 succeeded at 367. Hunk #12 succeeded at 376. Hunk #13 succeeded at 415. Hunk #14 succeeded at 424. Hunk #15 succeeded at 463. Hunk #16 succeeded at 501. Hunk #17 succeeded at 510. Hunk #18 succeeded at 543. Hunk #19 succeeded at 569. Hunk #20 succeeded at 599. Hunk #21 succeeded at 614. Hunk #22 succeeded at 623. Hunk #23 succeeded at 647. Hunk #24 succeeded at 656. Hunk #25 succeeded at 668. Hunk #26 succeeded at 716. Hunk #27 succeeded at 726. Hunk #28 succeeded at 757. Hunk #29 succeeded at 806. Hunk #30 succeeded at 841. Hunk #31 succeeded at 850. done ===> Applying OpenBSD patch patch-Src_dynload_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Src/dynload.c.orig Sun Sep 26 17:02:14 1999 |+++ Src/dynload.c Fri Aug 15 20:15:21 2008 -------------------------- Patching file Src/dynload.c using Plan A... Hunk #1 succeeded at 37. Hunk #2 succeeded at 172. Hunk #3 succeeded at 360. done ===> Applying OpenBSD patch patch-Tk_unix_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Tk/unix/Makefile.in.orig Sun Oct 25 22:52:31 1998 |+++ Tk/unix/Makefile.in Fri Aug 15 20:15:21 2008 -------------------------- Patching file Tk/unix/Makefile.in using Plan A... Hunk #1 succeeded at 98. done ===> Applying OpenBSD patch patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- configure.orig Sun Sep 26 17:02:14 1999 |+++ configure Tue Jul 19 09:27:22 2011 -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 618. Hunk #2 succeeded at 692. Hunk #3 succeeded at 2278. 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 STk-4.0.1p19 ===> Configuring for STk-4.0.1p19 Using /exopi-obj/pobj/STk-4.0.1/config.site (generated) loading site script /exopi-obj/pobj/STk-4.0.1/config.site creating cache ./config.cache checking for ranlib... ranlib Using 'cc' compiler Using '-O2 -pipe' compilation options Assumming OS is OPENBSD checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for POSIXized ISC... no checking how to run the C preprocessor... cc -E checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking fd_set and sys/select... yes Multiple precision library: libgmp Hash tables support: yes Posix support: yes STklos support: yes Socket support: yes Regexp support: yes Process support: yes Html support: yes Base64 support: yes Locale support: yes Pixmap Images support: yes JPEG Images support: yes Determining options for dynamic loading for OPENBSD not updating unwritable cache ./config.cache creating ./config.status creating Makefile creating Utils/STk.spec **** Configuring Src directory loading site script /exopi-obj/pobj/STk-4.0.1/config.site creating cache ./config.cache checking how to run the C preprocessor... cc -E checking for unistd.h... (cached) yes checking for limits.h... (cached) yes checking for sigaction... (cached) yes checking for select... (cached) yes checking for dlopen in -ldl... no checking for socket in -lsocket... no checking for t_accept in -lnsl... no checking for ANSI C header files... (cached) yes checking for pid_t... (cached) yes checking fd_set and sys/select... yes not updating unwritable cache ./config.cache creating ./config.status creating Makefile **** Configuring Extensions directory loading site script /exopi-obj/pobj/STk-4.0.1/config.site creating cache ./config.cache checking how to run the C preprocessor... cc -E checking for unistd.h... (cached) yes checking for limits.h... (cached) yes checking for sigaction... (cached) yes not updating unwritable cache ./config.cache creating ./config.status creating Makefile creating stk-genmake **** Configuring Stack directory loading site script /exopi-obj/pobj/STk-4.0.1/config.site creating cache ./config.cache checking for gcc... cc checking whether we are using GNU C... (cached) yes checking for ranlib... ranlib Stack library configuration Machine type: UNKNOWN_ARCH Low level support: not updating unwritable cache ./config.cache creating ./config.status creating libstack.h creating Makefile **** Configuring Tcl directory loading site script /exopi-obj/pobj/STk-4.0.1/config.site creating cache ./config.cache checking for ranlib... ranlib checking whether cross-compiling... no checking for getcwd... (cached) yes checking for opendir... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking for strtol... (cached) yes checking for tmpnam... (cached) yes checking for waitpid... (cached) yes checking for strerror... (cached) yes checking for getwd... (cached) yes checking for wait3... (cached) yes checking for uname... (cached) yes checking for sin... no checking for -lieee... no checking dirent.h... yes checking how to run the C preprocessor... cc -E checking for errno.h... (cached) yes checking for float.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/wait.h... (cached) yes checking for unistd.h... (cached) yes checking fd_set and sys/select... yes checking for sys/time.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for tm_zone in struct tm... yes checking tm_tzadj in struct tm... no checking tm_gmtoff in struct tm... yes checking timezone variable... yes checking proper strstr implementation... yes checking for strtoul... (cached) yes checking for strtod... (cached) yes checking for strtod... (cached) yes checking for Solaris strtod bug... ok checking for ANSI C header files... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for opendir... (cached) yes checking sys_errlist... yes checking union wait... no checking matherr support... no checking for vfork... (cached) yes checking vfork/signal bug... ok checking for strncasecmp... (cached) yes checking for BSDgettimeofday... no checking for gettimeofday... (cached) yes checking for gettimeofday declaration... present checking for -linet... no checking for net/errno.h... no checking for connect... (cached) yes checking for gethostbyname... (cached) yes checking system version (for dynamic loading)... OpenBSD-7.6 checking for -ldl... no Can't figure out how to do dynamic loading or shared libraries on this system. updating cache ./config.cache creating ./config.status creating Makefile **** Configuring Tk directory loading site script /exopi-obj/pobj/STk-4.0.1/config.site creating cache ./config.cache checking for ranlib... ranlib checking how to run the C preprocessor... cc -E checking for unistd.h... (cached) yes checking for limits.h... (cached) yes checking stdlib.h... yes checking fd_set and sys/select... yes checking whether cross-compiling... no checking for ANSI C header files... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for -lXbsd... no checking for connect... (cached) yes checking for gethostbyname... (cached) yes checking for sin... no checking for -lieee... no checking for memmove... (cached) yes checking whether char is unsigned... no checking for strtod... (cached) yes checking for Solaris 2.4 strtod bug... ok updating cache ./config.cache creating ./config.status creating Makefile SUMMARY ******* Your system is OPENBSD C compiler is: cc Compilation options: -O2 -pipe Dynamic loading enabled: yes X11 libraries directory: /usr/X11R6/lib X11 headers directory: /usr/X11R6/include You have chosen the following options Multiple precision library: libgmp Hash tables support: yes Posix support: yes STklos support: yes Socket support: yes Regexp support: yes Process support: yes Html support: yes Pixmap Images support: yes Jpeg Images support: yes Base64 support: yes Locale support: yes If this is correct, you can just type 'make' now at your shell prompt. Otherwise, rerun configure with proper options (see the README file for a description of STk configure options.) ===> Building for STk-4.0.1p19 make Tcl cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c panic.c panic.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetPanicProc(proc) ^ panic.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] panic(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ^ 2 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclHash.c tclHash.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_InitHashTable(tablePtr, keyType) ^ tclHash.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteHashEntry(entryPtr) ^ tclHash.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteHashTable(tablePtr) ^ tclHash.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_FirstHashEntry(tablePtr, searchPtr) ^ tclHash.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NextHashEntry(searchPtr) ^ tclHash.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_HashStats(tablePtr) ^ tclHash.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HashString(string) ^ tclHash.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringFind(tablePtr, key) ^ tclHash.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringCreate(tablePtr, key, newPtr) ^ tclHash.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OneWordFind(tablePtr, key) ^ tclHash.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OneWordCreate(tablePtr, key, newPtr) ^ tclHash.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArrayFind(tablePtr, key) ^ tclHash.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArrayCreate(tablePtr, key, newPtr) ^ tclHash.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BogusFind(tablePtr, key) ^ tclHash.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BogusCreate(tablePtr, key, newPtr) ^ tclHash.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RebuildTable(tablePtr) ^ 16 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclGet.c In file included from tclGet.c:18: In file included from ./tclPort.h:30: ./tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ tclGet.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetInt(interp, string, intPtr) ^ tclGet.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclGetLong(interp, string, longPtr) ^ tclGet.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetDouble(interp, string, doublePtr) ^ tclGet.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetBoolean(interp, string, boolPtr) ^ 5 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c regexp.c In file included from regexp.c:48: In file included from ./tclPort.h:30: ./tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ regexp.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclRegComp(exp) ^ regexp.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reg(paren, flagp, rcstate) ^ regexp.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regbranch(flagp, rcstate) ^ regexp.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regpiece(flagp, rcstate) ^ regexp.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regatom(flagp, rcstate) ^ regexp.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnode(op, rcstate) ^ regexp.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(b, rcstate) ^ regexp.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(op, opnd, rcstate) ^ regexp.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(p, val) ^ regexp.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(p, val) ^ regexp.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclRegExec(prog, string, start) ^ regexp.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtry(prog, string, restate) ^ regexp.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regmatch(prog, restate) ^ regexp.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regrepeat(p, restate) ^ regexp.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnext(p) ^ regexp.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclRegError(string) ^ 17 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclUtil.c In file included from tclUtil.c:17: In file included from ./tclPort.h:30: ./tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ tclUtil.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclFindElement(interp, list, listLength, elementPtr, nextPtr, sizePtr, ^ tclUtil.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclCopyAndCollapse(count, src, dst) ^ tclUtil.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SplitList(interp, list, argcPtr, argvPtr) ^ tclUtil.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ScanElement(string, flagPtr) ^ tclUtil.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ScanCountedElement(string, length, flagPtr) ^ tclUtil.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ConvertElement(src, dst, flags) ^ tclUtil.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ConvertCountedElement(src, length, dst, flags) ^ tclUtil.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Merge(argc, argv) ^ tclUtil.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Concat(argc, argv) ^ tclUtil.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ConcatObj(objc, objv) ^ tclUtil.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_StringMatch(string, pattern) ^ tclUtil.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetResult(interp, string, freeProc) ^ tclUtil.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetStringResult(interp) ^ tclUtil.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetObjResult(interp, objPtr) ^ tclUtil.c:1472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetObjResult(interp) ^ tclUtil.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AppendElement(interp, string) ^ tclUtil.c:1689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupAppendBuffer(iPtr, newSpace) ^ tclUtil.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_FreeResult(interp) ^ tclUtil.c:1819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ResetResult(interp) ^ tclUtil.c:1909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetObjErrorCode(interp, errorObjPtr) ^ tclUtil.c:1958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_RegExpCompile(interp, string) ^ tclUtil.c:2050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_RegExpExec(interp, re, string, start) ^ tclUtil.c:2094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_RegExpRange(re, index, startPtr, endPtr) ^ tclUtil.c:2136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_RegExpMatch(interp, string, pattern) ^ tclUtil.c:2170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DStringInit(dsPtr) ^ tclUtil.c:2198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DStringAppend(dsPtr, string, length) ^ tclUtil.c:2269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DStringAppendElement(dsPtr, string) ^ tclUtil.c:2339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DStringSetLength(dsPtr, length) ^ tclUtil.c:2392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DStringFree(dsPtr) ^ tclUtil.c:2425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DStringResult(interp, dsPtr) ^ tclUtil.c:2469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DStringGetResult(interp, dsPtr) ^ tclUtil.c:2551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DStringStartSublist(dsPtr) ^ tclUtil.c:2585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DStringEndSublist(dsPtr) ^ tclUtil.c:2616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_PrintDouble(interp, value, dst) ^ tclUtil.c:2752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclNeedSpace(start, end) ^ 36 warnings generated. rm -f libtcl.a ar q libtcl.a panic.o tclHash.o tclGet.o regexp.o tclUtil.o ar: warning: creating libtcl.a ranlib libtcl.a cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclEvent.c In file included from tclEvent.c:18: In file included from ./tclPort.h:30: ./tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ tclEvent.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_BackgroundError(interp) ^ tclEvent.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleBgErrors(clientData) ^ tclEvent.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BgErrorDeleteProc(clientData, interp) ^ tclEvent.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CreateExitHandler(proc, clientData) ^ tclEvent.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteExitHandler(proc, clientData) ^ tclEvent.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Exit(status) ^ tclEvent.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_UpdateCmd(clientData, interp, argc, argv) ^ 8 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclTimer.c In file included from tclTimer.c:16: In file included from ./tclPort.h:30: ./tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ In file included from tclTimer.c:18: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE tclTimer.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TimerExitProc(clientData) ^ tclTimer.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CreateTimerHandler(milliseconds, proc, clientData) ^ tclTimer.c:248:30: warning: cast to 'Tcl_TimerToken' (aka 'struct Tcl_TimerToken_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] timerHandlerPtr->token = (Tcl_TimerToken) lastTimerId; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclTimer.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteTimerHandler(token) ^ tclTimer.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TimerSetupProc(data, flags) ^ tclTimer.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TimerCheckProc(data, flags) ^ tclTimer.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TimerHandlerEventProc(evPtr, flags) ^ tclTimer.c:518:24: warning: cast to smaller integer type 'int' from 'Tcl_TimerToken' (aka 'struct Tcl_TimerToken_ *') [-Wpointer-to-int-cast] if ((currentTimerId - (int)timerHandlerPtr->token) < 0) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tclTimer.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DoWhenIdle(proc, clientData) ^ tclTimer.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CancelIdleCall(proc, clientData) ^ tclTimer.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AfterCmd(clientData, interp, argc, argv) ^ tclTimer.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAfterEvent(assocPtr, string) ^ tclTimer.c:1063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AfterProc(clientData) ^ tclTimer.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeAfterPtr(afterPtr) ^ 16 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclUnixNotfy.c In file included from tclUnixNotfy.c:18: In file included from ./tclPort.h:30: ./tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ tclUnixNotfy.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NotifierExitHandler(clientData) ^ tclUnixNotfy.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetTimer(timePtr) ^ tclUnixNotfy.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CreateFileHandler(fd, mask, proc, clientData) ^ tclUnixNotfy.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteFileHandler(fd) ^ tclUnixNotfy.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileHandlerEventProc(evPtr, flags) ^ tclUnixNotfy.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_WaitForEvent(timePtr) ^ 7 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclUnixTime.c In file included from tclUnixTime.c:16: In file included from ./tclPort.h:30: ./tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ tclUnixTime.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TclpGetTime(timePtr) ^ 2 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclUnixEvent.c In file included from tclUnixEvent.c:15: In file included from ./tclPort.h:30: ./tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ tclUnixEvent.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Sleep(ms) ^ 2 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclPreserve.c tclPreserve.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreserveExitProc(clientData) ^ tclPreserve.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Preserve(clientData) ^ tclPreserve.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Release(clientData) ^ tclPreserve.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_EventuallyFree(clientData, freeProc) ^ 4 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclNotify.c In file included from tclNotify.c:19: In file included from ./tclPort.h:30: ./tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ tclNotify.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NotifierExitHandler(clientData) ^ tclNotify.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CreateEventSource(setupProc, checkProc, clientData) ^ tclNotify.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteEventSource(setupProc, checkProc, clientData) ^ tclNotify.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_QueueEvent(evPtr, position) ^ tclNotify.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteEvents(proc, clientData) ^ tclNotify.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ServiceEvent(flags) ^ tclNotify.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetServiceMode(mode) ^ tclNotify.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetMaxBlockTime(timePtr) ^ tclNotify.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DoOneEvent(flags) ^ 10 warnings generated. cc -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -c tclAsync.c tclAsync.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AsyncCreate(proc, clientData) ^ tclAsync.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AsyncMark(async) ^ tclAsync.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AsyncInvoke(interp, code) ^ tclAsync.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AsyncDelete(async) ^ 4 warnings generated. rm -f libevtcl.a ar q libevtcl.a tclEvent.o tclTimer.o tclUnixNotfy.o tclUnixTime.o tclUnixEvent.o tclPreserve.o tclNotify.o tclAsync.o ar: warning: creating libevtcl.a ranlib libevtcl.a make Mp rm -f libgmp.a gmp.h (cd gmp-1.3.2; /usr/bin/make CC="cc" CFLAGS="-O2 -pipe ") rm -f stddef.h rm -f test-stddefh.c ( echo '#include ' ; echo 'main(){size_t foo=sizeof(size_t);exit(0);}' ; ) > test-stddefh.c rm -f test-stddefh.o touch stamp-stddefh cc -O2 -pipe cre-mparam.c -o cre-mparam cre-mparam.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulog2 (x) ^ cre-mparam.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main () ^ int cre-mparam.c:85:3: warning: call to undeclared function 'puts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] puts ("/* gmp-mparam.h -- Compiler/machine parameter header file."); ^ cre-mparam.c:109:3: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] printf ("#define BITS_PER_MP_LIMB %d\n", bits_uli); ^ cre-mparam.c:109:3: note: include the header or explicitly provide a declaration for 'printf' cre-mparam.c:110:45: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] printf ("#define BYTES_PER_MP_LIMB %d\n", sizeof(mp_limb)); ~~ ^~~~~~~~~~~~~~~ %lu cre-mparam.c:117:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit (0); ^ cre-mparam.c:117:3: note: include the header or explicitly provide a declaration for 'exit' 6 warnings generated. ./cre-mparam > tmp-gmp-mparam.h mv tmp-gmp-mparam.h gmp-mparam.h cc -O2 -pipe -c mpz_init.c In file included from mpz_init.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_set.c In file included from mpz_set.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_set_ui.c In file included from mpz_set_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_set_si.c In file included from mpz_set_si.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_set_str.c In file included from mpz_set_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_iset.c In file included from mpz_iset.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_iset_ui.c In file included from mpz_iset_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_iset_si.c In file included from mpz_iset_si.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_iset_str.c In file included from mpz_iset_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_clear.c In file included from mpz_clear.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_get_ui.c In file included from mpz_get_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_get_si.c In file included from mpz_get_si.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_get_str.c In file included from mpz_get_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_size.c In file included from mpz_size.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_sizeinb.c In file included from mpz_sizeinb.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_add.c In file included from mpz_add.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_add_ui.c In file included from mpz_add_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_sub.c In file included from mpz_sub.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_sub_ui.c In file included from mpz_sub_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mul.c In file included from mpz_mul.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' cc -O2 -pipe -c mpz_mul_ui.c 1 warning generated. In file included from mpz_mul_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_div.c In file included from mpz_div.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_div_ui.c In file included from mpz_div_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mod.c In file included from mpz_mod.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mod_ui.c In file included from mpz_mod_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_dm.c In file included from mpz_dm.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_dm_ui.c In file included from mpz_dm_ui.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mdiv.c In file included from mpz_mdiv.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mmod.c In file included from mpz_mmod.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' cc -O2 -pipe -c mpz_mdm.c 1 warning generated. In file included from mpz_mdm.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mdiv_ui.c In file included from mpz_mdiv_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mmod_ui.c In file included from mpz_mmod_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mdm_ui.c In file included from mpz_mdm_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_gcd.c In file included from mpz_gcd.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_gcdext.c In file included from mpz_gcdext.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_sqrt.c In file included from mpz_sqrt.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_sqrtrem.c In file included from mpz_sqrtrem.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_powm.c In file included from mpz_powm.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_powm_ui.c In file included from mpz_powm_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_cmp.c In file included from mpz_cmp.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_cmp_ui.c In file included from mpz_cmp_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_cmp_si.c In file included from mpz_cmp_si.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mul_2exp.c In file included from mpz_mul_2exp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_div_2exp.c In file included from mpz_div_2exp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_mod_2exp.c In file included from mpz_mod_2exp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_abs.c In file included from mpz_abs.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' cc -O2 -pipe -c mpz_neg.c 1 warning generated. In file included from mpz_neg.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_com.c In file included from mpz_com.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_and.c In file included from mpz_and.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_ior.c In file included from mpz_ior.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_inp_raw.c In file included from mpz_inp_raw.c:25: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_inp_str.c In file included from mpz_inp_str.c:25: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mpz_inp_str.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char_ok_for_base (c, base) ^ 2 warnings generated. cc -O2 -pipe -c mpz_out_raw.c In file included from mpz_out_raw.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_out_str.c In file included from mpz_out_str.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_perfsqr.c In file included from mpz_perfsqr.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_random.c In file included from mpz_random.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_random2.c In file included from mpz_random2.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_pow_ui.c In file included from mpz_pow_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_clrbit.c In file included from mpz_clrbit.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_fac_ui.c In file included from mpz_fac_ui.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_pprime_p.c In file included from mpz_pprime_p.c:29: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mpz_pprime_p.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] possibly_prime (n, n_minus_1, x, y, q, k) ^ mpz_pprime_p.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpz_probab_prime_p (m, reps) ^ 3 warnings generated. cc -O2 -pipe -c mpq_init.c In file included from mpq_init.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_set.c In file included from mpq_set.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_set_ui.c In file included from mpq_set_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mpq_set_ui.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gcd (x, y) ^ 2 warnings generated. cc -O2 -pipe -c mpq_set_si.c In file included from mpq_set_si.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mpq_set_si.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gcd (x, y) ^ 2 warnings generated. cc -O2 -pipe -c mpq_set_num.c In file included from mpq_set_num.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_set_den.c In file included from mpq_set_den.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_get_num.c In file included from mpq_get_num.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_get_den.c In file included from mpq_get_den.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_add.c In file included from mpq_add.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_sub.c In file included from mpq_sub.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_mul.c In file included from mpq_mul.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_div.c In file included from mpq_div.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_clear.c In file included from mpq_clear.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_cmp.c In file included from mpq_cmp.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_inv.c In file included from mpq_inv.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpq_neg.c In file included from mpq_neg.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_add.c In file included from mpn_add.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_sub.c In file included from mpn_sub.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_cmp.c In file included from mpn_cmp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_mul.c In file included from mpn_mul.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_div.c In file included from mpn_div.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_dm_1.c In file included from mpn_dm_1.c:28: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_mod_1.c In file included from mpn_mod_1.c:27: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_lshift.c In file included from mpn_lshift.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_rshift.c In file included from mpn_rshift.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_rshiftci.c In file included from mpn_rshiftci.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpn_sqrt.c In file included from mpn_sqrt.c:38: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c memory.c In file included from memory.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mp_set_fns.c In file included from mp_set_fns.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c _mpz_set_str.c In file included from _mpz_set_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' _mpz_set_str.c:99:13: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] str_len = strlen (str); ^ _mpz_set_str.c:99:13: note: include the header or explicitly provide a declaration for 'strlen' 2 warnings generated. cc -O2 -pipe -c _mpz_get_str.c In file included from _mpz_get_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mpz_realloc.c In file included from mpz_realloc.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mp_clz_tab.c In file included from mp_clz_tab.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c alloca.c alloca.c:145:1: warning: incompatible redeclaration of library function 'alloca' [-Wincompatible-library-redeclaration] alloca (size) ^ alloca.c:145:1: note: 'alloca' is a builtin with type 'void *(unsigned long)' alloca.c:168:4: warning: call to undeclared function 'free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] free ((pointer) hp); /* Collect garbage. */ ^ alloca.c:184:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] register pointer new = (*_mp_allocate_func) (sizeof (header) + size); ^ 3 warnings generated. cc -O2 -pipe `if [ x = x ]; then echo cre-conv-tab.c; else echo ; fi` -o cre-conv-tab -lm In file included from cre-conv-tab.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' cre-conv-tab.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] upow (b, e) ^ cre-conv-tab.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ulog2 (x) ^ cre-conv-tab.c:59:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main () ^ int cre-conv-tab.c:80:3: warning: call to undeclared function 'puts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] puts ("/* __mp_bases -- Structure for conversion between internal binary"); ^ cre-conv-tab.c:135:7: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] printf (" /* %2u */ {%lu, 0x%lX, 0x%lX, %.8f},\n", ^ cre-conv-tab.c:135:7: note: include the header or explicitly provide a declaration for 'printf' cre-conv-tab.c:140:3: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] exit (0); ^ cre-conv-tab.c:140:3: note: include the header or explicitly provide a declaration for 'exit' 7 warnings generated. ./cre-conv-tab > tmp-mp_bases.c mv tmp-mp_bases.c mp_bases.c cc -O2 -pipe -c mp_bases.c In file included from mp_bases.c:27: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. rm -f libgmp.a ar cr libgmp.a mpz_init.o mpz_set.o mpz_set_ui.o mpz_set_si.o mpz_set_str.o mpz_iset.o mpz_iset_ui.o mpz_iset_si.o mpz_iset_str.o mpz_clear.o mpz_get_ui.o mpz_get_si.o mpz_get_str.o mpz_size.o mpz_sizeinb.o mpz_add.o mpz_add_ui.o mpz_sub.o mpz_sub_ui.o mpz_mul.o mpz_mul_ui.o mpz_div.o mpz_div_ui.o mpz_mod.o mpz_mod_ui.o mpz_dm.o mpz_dm_ui.o mpz_mdiv.o mpz_mmod.o mpz_mdm.o mpz_mdiv_ui.o mpz_mmod_ui.o mpz_mdm_ui.o mpz_gcd.o mpz_gcdext.o mpz_sqrt.o mpz_sqrtrem.o mpz_powm.o mpz_powm_ui.o mpz_cmp.o mpz_cmp_ui.o mpz_cmp_si.o mpz_mul_2exp.o mpz_div_2exp.o mpz_mod_2exp.o mpz_abs.o mpz_neg.o mpz_com.o mpz_and.o mpz_ior.o mpz_inp_raw.o mpz_inp_str.o mpz_out_raw.o mpz_out_str.o mpz_perfsqr.o mpz_random.o mpz_random2.o mpz_pow_ui.o mpz_clrbit.o mpz_fac_ui.o mpz_pprime_p.o mpq_init.o mpq_set.o mpq_set_ui.o mpq_set_si.o mpq_set_num.o mpq_set_den.o mpq_get_num.o mpq_get_den.o mpq_add.o mpq_sub.o mpq_mul.o mpq_div.o mpq_clear.o mpq_cmp.o mpq_inv.o mpq_neg.o mpn_add.o mpn_sub.o mpn_cmp.o mpn_mul.o mpn_div.o mpn_dm_1.o mpn_mod_1.o mpn_lshift.o mpn_rshift.o mpn_rshiftci.o mpn_sqrt.o memory.o mp_set_fns.o _mpz_set_str.o _mpz_get_str.o mpz_realloc.o mp_clz_tab.o alloca.o mp_bases.o `if [ -r /bin/ranlib -o -r /usr/bin/ranlib ]; then echo ranlib; else echo true; fi` libgmp.a cc -O2 -pipe -E -DBERKELEY_MP mpz_gcd.c | grep -v '^#' > gcd.c cc -O2 -pipe -c gcd.c gcd.c:265:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ gcd.c:265:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c itom.c In file included from itom.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const MINT *, const MINT *, const MINT *, MINT *); ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from itom.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. cc -O2 -pipe -E -DBERKELEY_MP mpz_add.c | grep -v '^#' > madd.c cc -O2 -pipe -c madd.c madd.c:265:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ madd.c:265:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -E -DBERKELEY_MP mpz_cmp.c | grep -v '^#' > mcmp.c cc -O2 -pipe -c mcmp.c mcmp.c:158:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const __MP_INT *, const __MP_INT *, const __MP_INT *, __MP_INT *); ^ mcmp.c:158:6: note: 'pow' is a builtin with type 'double (double, double)' mcmp.c:286:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ mcmp.c:286:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. cc -O2 -pipe -c mdiv.c In file included from mdiv.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const MINT *, const MINT *, const MINT *, MINT *); ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from mdiv.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. cc -O2 -pipe -c move.c In file included from move.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const MINT *, const MINT *, const MINT *, MINT *); ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from move.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. cc -O2 -pipe -E -DBERKELEY_MP mpz_sub.c | grep -v '^#' > msub.c cc -O2 -pipe -c msub.c msub.c:265:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ msub.c:265:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c mtox.c In file included from mtox.c:22: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const MINT *, const MINT *, const MINT *, MINT *); ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from mtox.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. cc -O2 -pipe -E -DBERKELEY_MP mpz_mul.c | grep -v '^#' > mult.c cc -O2 -pipe -c mult.c mult.c:265:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ mult.c:265:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -E -DBERKELEY_MP mpz_powm.c | grep -v '^#' > pow.c cc -O2 -pipe -c pow.c pow.c:265:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ pow.c:265:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' pow.c:321:1: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] pow (const __MP_INT *base, const __MP_INT *exp, const __MP_INT *mod, __MP_INT *res) ^ pow.c:321:1: note: 'pow' is a builtin with type 'double (double, double)' 2 warnings generated. cc -O2 -pipe -E -DBERKELEY_MP mpz_pow_ui.c | grep -v '^#' > rpow.c cc -O2 -pipe -c rpow.c rpow.c:265:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ rpow.c:265:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c xtom.c In file included from xtom.c:22: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const MINT *, const MINT *, const MINT *, MINT *); ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from xtom.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. cc -O2 -pipe -E -DBERKELEY_MP mpz_sqrtrem.c | grep -v '^#' > msqrt.c cc -O2 -pipe -c msqrt.c msqrt.c:265:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ msqrt.c:265:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. cc -O2 -pipe -c sdiv.c In file included from sdiv.c:22: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const MINT *, const MINT *, const MINT *, MINT *); ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from sdiv.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. cc -O2 -pipe -c mout.c In file included from mout.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const MINT *, const MINT *, const MINT *, MINT *); ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from mout.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' mout.c:40:3: warning: call to undeclared function 'puts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] puts (str); ^ 3 warnings generated. cc -O2 -pipe -c min.c In file included from min.c:24: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const MINT *, const MINT *, const MINT *, MINT *); ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from min.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. cc -O2 -pipe -c mfree.c In file included from mfree.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] void pow (const MINT *, const MINT *, const MINT *, MINT *); ^ ./mp.h:72:6: note: 'pow' is a builtin with type 'double (double, double)' In file included from mfree.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. rm -f libmp.a ar cr libmp.a gcd.o itom.o madd.o mcmp.o mdiv.o move.o msub.o mtox.o mult.o pow.o rpow.o xtom.o msqrt.o sdiv.o mout.o min.o mfree.o mpn_add.o mpn_sub.o mpn_cmp.o mpn_mul.o mpn_div.o mpn_dm_1.o mpn_mod_1.o mpn_lshift.o mpn_rshift.o mpn_rshiftci.o mpn_sqrt.o memory.o mp_set_fns.o _mpz_set_str.o _mpz_get_str.o mpz_realloc.o mp_clz_tab.o alloca.o mp_bases.o mpz_sizeinb.o `if [ -r /bin/ranlib -o -r /usr/bin/ranlib ]; then echo ranlib; else echo true; fi` libmp.a ln -s gmp-1.3.2/libgmp.a . ln -s gmp-1.3.2/gmp.h . make Stack cc -O2 -pipe -c libstack.c /bin/rm -f libstack.a ar cqv libstack.a libstack.o ranlib libstack.a make Tk (cd unix; /usr/bin/make libtk.a) cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tk3d.c In file included from ./../generic/tk3d.c:16: In file included from ./../generic/tk3d.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tk3d.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Get3DBorder(interp, tkwin, colorName) ^ ./../generic/tk3d.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Draw3DRectangle(tkwin, drawable, border, x, y, width, height, ^ ./../generic/tk3d.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOf3DBorder(border) ^ ./../generic/tk3d.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_3DBorderColor(border) ^ ./../generic/tk3d.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_3DBorderGC(tkwin, border, which) ^ ./../generic/tk3d.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Free3DBorder(border) ^ ./../generic/tk3d.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetBackgroundFromBorder(tkwin, border) ^ ./../generic/tk3d.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetRelief(interp, name, reliefPtr) ^ ./../generic/tk3d.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfRelief(relief) ^ ./../generic/tk3d.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Draw3DPolygon(tkwin, drawable, border, pointPtr, numPoints, ^ ./../generic/tk3d.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Fill3DRectangle(tkwin, drawable, border, x, y, width, ^ ./../generic/tk3d.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Fill3DPolygon(tkwin, drawable, border, pointPtr, numPoints, ^ ./../generic/tk3d.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ShiftLine(p1Ptr, p2Ptr, distance, p3Ptr) ^ ./../generic/tk3d.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Intersect(a1Ptr, a2Ptr, b1Ptr, b2Ptr, iPtr) ^ 15 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkArgv.c In file included from ./../generic/tkArgv.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkArgv.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ParseArgv(interp, tkwin, argcPtr, argv, argTable, flags) ^ ./../generic/tkArgv.c:181:29: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] *((int *) infoPtr->dst) = (int) infoPtr->src; ^~~~~~~~~~~~~~~~~~ ./../generic/tkArgv.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintUsage(interp, argTable, flags) ^ 4 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkAtom.c In file included from ./../generic/tkAtom.c:19: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkAtom.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_InternAtom(tkwin, name) ^ ./../generic/tkAtom.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetAtomName(tkwin, atom) ^ ./../generic/tkAtom.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AtomInit(dispPtr) ^ 4 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkBind.c In file included from ./../generic/tkBind.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkBind.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBindInit(mainPtr) ^ ./../generic/tkBind.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBindFree(mainPtr) ^ ./../generic/tkBind.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateBindingTable(interp) ^ ./../generic/tkBind.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteBindingTable(bindingTable) ^ ./../generic/tkBind.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateBinding(interp, bindingTable, object, eventString, command, key1, key3) ^ ./../generic/tkBind.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkCreateBindingProcedure(interp, bindingTable, object, eventString, ^ ./../generic/tkBind.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteBinding(interp, bindingTable, object, eventString) ^ ./../generic/tkBind.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetBinding(interp, bindingTable, object, eventString) ^ ./../generic/tkBind.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetAllBindings(interp, bindingTable, object) ^ ./../generic/tkBind.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteAllBindings(bindingTable, object) ^ ./../generic/tkBind.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_BindEvent(bindingTable, eventPtr, tkwin, numObjects, objectPtr) ^ ./../generic/tkBind.c:1879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBindDeadWindow(winPtr) ^ ./../generic/tkBind.c:1931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchPatterns(dispPtr, bindPtr, psPtr, bestPtr, objectPtr, sourcePtrPtr) ^ ./../generic/tkBind.c:2260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExpandPercents(winPtr, before, eventPtr, keySym, dsPtr) ^ ./../generic/tkBind.c:2665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeScreen(interp, dispName, screenIndex) ^ ./../generic/tkBind.c:2721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_EventCmd(clientData, interp, argc, argv) ^ ./../generic/tkBind.c:2824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitVirtualEventTable(vetPtr) ^ ./../generic/tkBind.c:2851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteVirtualEventTable(vetPtr) ^ ./../generic/tkBind.c:2899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateVirtualEvent(interp, vetPtr, virtString, eventString) ^ ./../generic/tkBind.c:3006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteVirtualEvent(interp, vetPtr, virtString, eventString) ^ ./../generic/tkBind.c:3162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetVirtualEvent(interp, vetPtr, virtString) ^ ./../generic/tkBind.c:3223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAllVirtualEvents(interp, vetPtr) ^ ./../generic/tkBind.c:3289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleEventGenerate(interp, mainwin, argc, argv) ^ ./../generic/tkBind.c:3368:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] if (XKeycodeToKeysym(event.xany.display, ^ /usr/X11R6/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/X11R6/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ./../generic/tkBind.c:3529:7: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] if (XKeycodeToKeysym(event.xany.display, (unsigned) number, ^ /usr/X11R6/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/X11R6/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ./../generic/tkBind.c:3787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetVirtualEventUid(interp, virtString) ^ ./../generic/tkBind.c:3837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindSequence(interp, patternTablePtr, object, eventString, create, ^ ./../generic/tkBind.c:4008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseEventDescription(interp, eventStringPtr, patPtr, ^ ./../generic/tkBind.c:4233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetField(p, copy, size) ^ ./../generic/tkBind.c:4268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPatternString(psPtr, dsPtr) ^ ./../generic/tkBind.c:4408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetKeySym(dispPtr, eventPtr) ^ ./../generic/tkBind.c:4439:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym = XKeycodeToKeysym(dispPtr->display, eventPtr->xkey.keycode, index); ^ /usr/X11R6/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/X11R6/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ./../generic/tkBind.c:4454:12: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym = XKeycodeToKeysym(dispPtr->display, eventPtr->xkey.keycode, ^ /usr/X11R6/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/X11R6/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ./../generic/tkBind.c:4465:8: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym = XKeycodeToKeysym(dispPtr->display, eventPtr->xkey.keycode, ^ /usr/X11R6/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/X11R6/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ./../generic/tkBind.c:4491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitKeymapInfo(dispPtr) ^ ./../generic/tkBind.c:4516:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysym = XKeycodeToKeysym(dispPtr->display, *codePtr, 0); ^ /usr/X11R6/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/X11R6/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ./../generic/tkBind.c:4542:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysym = XKeycodeToKeysym(dispPtr->display, *codePtr, 0); ^ /usr/X11R6/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /usr/X11R6/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ./../generic/tkBind.c:4620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeTclBinding(clientData) ^ ./../generic/tkBind.c:4652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkStringToKeysym(name) ^ ./../generic/tkBind.c:4692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkKeysymToString(keysym) ^ ./../generic/tkBind.c:4726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkCopyAndGlobalEval(interp, script) ^ 42 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkBitmap.c In file included from ./../generic/tkBitmap.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkBitmap.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetBitmap(interp, tkwin, string) ^ ./../generic/tkBitmap.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DefineBitmap(interp, name, source, width, height) ^ ./../generic/tkBitmap.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfBitmap(display, bitmap) ^ ./../generic/tkBitmap.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SizeOfBitmap(display, bitmap, widthPtr, heightPtr) ^ ./../generic/tkBitmap.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeBitmap(display, bitmap) ^ ./../generic/tkBitmap.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetBitmapFromData(interp, tkwin, source, width, height) ^ ./../generic/tkBitmap.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkReadBitmapFile(display, d, filename, width_return, height_return, ^ 8 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkClipboard.c In file included from ./../generic/tkClipboard.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkClipboard.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClipboardHandler(clientData, offset, buffer, maxBytes) ^ ./../generic/tkClipboard.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClipboardAppHandler(clientData, offset, buffer, maxBytes) ^ ./../generic/tkClipboard.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClipboardWindowHandler(clientData, offset, buffer, maxBytes) ^ ./../generic/tkClipboard.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClipboardLostSel(clientData) ^ ./../generic/tkClipboard.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ClipboardClear(interp, tkwin) ^ ./../generic/tkClipboard.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ClipboardAppend(interp, tkwin, type, format, buffer) ^ ./../generic/tkClipboard.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ClipboardCmd(clientData, interp, argc, argv) ^ ./../generic/tkClipboard.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkClipInit(interp, dispPtr) ^ 9 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCmds.c In file included from ./../generic/tkCmds.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCmds.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_BellCmd(clientData, interp, argc, argv) ^ ./../generic/tkCmds.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_BindCmd(clientData, interp, argc, argv) ^ ./../generic/tkCmds.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBindEventProc(winPtr, eventPtr) ^ ./../generic/tkCmds.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_BindtagsCmd(clientData, interp, argc, argv) ^ ./../generic/tkCmds.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFreeBindingTags(winPtr) ^ ./../generic/tkCmds.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DestroyCmd(clientData, interp, argc, argv) ^ ./../generic/tkCmds.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_LowerCmd(clientData, interp, argc, argv) ^ ./../generic/tkCmds.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_RaiseCmd(clientData, interp, argc, argv) ^ ./../generic/tkCmds.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_TkObjCmd(clientData, interp, objc, objv) ^ ./../generic/tkCmds.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_TkwaitCmd(clientData, interp, argc, argv) ^ ./../generic/tkCmds.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WaitVariableProc(clientData, interp, name1, name2, flags) ^ ./../generic/tkCmds.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WaitVisibilityProc(clientData, eventPtr) ^ ./../generic/tkCmds.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WaitWindowProc(clientData, eventPtr) ^ ./../generic/tkCmds.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_UpdateCmd(clientData, interp, argc, argv) ^ ./../generic/tkCmds.c:976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_WinfoObjCmd(clientData, interp, objc, objv) ^ ./../generic/tkCmds.c:1746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetDisplayOf(interp, objc, objv, tkwinPtr) ^ ./../generic/tkCmds.c:1806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkDeadAppCmd(clientData, interp, argc, argv) ^ ./../generic/tkCmds.c:1836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetToplevel(tkwin) ^ 19 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkColor.c In file included from ./../generic/tkColor.c:17: In file included from ./../generic/tkColor.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkColor.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetColor(interp, tkwin, name) ^ ./../generic/tkColor.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetColorByValue(tkwin, colorPtr) ^ ./../generic/tkColor.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfColor(colorPtr) ^ ./../generic/tkColor.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GCForColor(colorPtr, drawable) ^ ./../generic/tkColor.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeColor(colorPtr) ^ 6 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkConfig.c In file included from ./../generic/tkConfig.c:15: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkConfig.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Menu_ConfigureWidget(interp, addr, tkwin, specs, argc, argv, widgRec, flags) ^ ./../generic/tkConfig.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ConfigureWidget(interp, tkwin, specs, argc, argv, widgRec, flags) ^ ./../generic/tkConfig.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindConfigSpec(interp, specs, argvName, needFlags, hateFlags) ^ ./../generic/tkConfig.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoConfig(interp, tkwin, specPtr, value, valueIsUid, widgRec) ^ ./../generic/tkConfig.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ConfigureInfo(interp, tkwin, specs, widgRec, argvName, flags) ^ ./../generic/tkConfig.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FormatConfigInfo(interp, tkwin, specPtr, widgRec) ^ ./../generic/tkConfig.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FormatConfigValue(interp, tkwin, specPtr, widgRec, buffer, freeProcPtr) ^ ./../generic/tkConfig.c:1225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ConfigureValue(interp, tkwin, specs, widgRec, argvName, flags) ^ ./../generic/tkConfig.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeOptions(specs, widgRec, display, needFlags) ^ 10 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCursor.c In file included from ./../generic/tkCursor.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCursor.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetCursor(interp, tkwin, string) ^ ./../generic/tkCursor.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetCursorFromData(interp, tkwin, source, mask, width, height, ^ ./../generic/tkCursor.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfCursor(display, cursor) ^ ./../generic/tkCursor.c:291:36: warning: cast to smaller integer type 'unsigned int' from 'Tk_Cursor' (aka 'struct Tk_Cursor_ *') [-Wpointer-to-int-cast] sprintf(string, "cursor id 0x%x", (unsigned int) cursor); ^~~~~~~~~~~~~~~~~~~~~ ./../generic/tkCursor.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeCursor(display, cursor) ^ 6 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkError.c In file included from ./../generic/tkError.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkError.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateErrorHandler(display, error, request, minorCode, errorProc, clientData) ^ ./../generic/tkError.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteErrorHandler(handler) ^ ./../generic/tkError.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ErrorProc(display, errEventPtr) ^ 4 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkEvent.c In file included from ./../generic/tkEvent.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkEvent.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateEventHandler(token, mask, proc, clientData) ^ ./../generic/tkEvent.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteEventHandler(token, mask, proc, clientData) ^ ./../generic/tkEvent.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateGenericHandler(proc, clientData) ^ ./../generic/tkEvent.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteGenericHandler(proc, clientData) ^ ./../generic/tkEvent.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_HandleEvent(eventPtr) ^ ./../generic/tkEvent.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkEventDeadWindow(winPtr) ^ ./../generic/tkEvent.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkCurrentTime(dispPtr) ^ ./../generic/tkEvent.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_QueueWindowEvent(eventPtr, position) ^ ./../generic/tkEvent.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkQueueEventForAllChildren(winPtr, eventPtr) ^ ./../generic/tkEvent.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowEventProc(evPtr, flags) ^ ./../generic/tkEvent.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DelayedMotionProc(clientData) ^ 12 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkFocus.c In file included from ./../generic/tkFocus.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkFocus.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FocusCmd(clientData, interp, argc, argv) ^ ./../generic/tkFocus.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFocusFilterEvent(winPtr, eventPtr) ^ ./../generic/tkFocus.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFocus(winPtr, force) ^ ./../generic/tkFocus.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetFocusWin(winPtr) ^ ./../generic/tkFocus.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFocusKeyEvent(winPtr, eventPtr) ^ ./../generic/tkFocus.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFocusDeadWindow(winPtr) ^ ./../generic/tkFocus.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenerateFocusEvents(sourcePtr, destPtr) ^ ./../generic/tkFocus.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FocusMapProc(clientData, eventPtr) ^ ./../generic/tkFocus.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindDisplayFocusInfo(mainPtr, dispPtr) ^ 10 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkFont.c In file included from ./../generic/tkFont.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkFont.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFontPkgInit(mainPtr) ^ ./../generic/tkFont.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFontPkgFree(mainPtr) ^ ./../generic/tkFont.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FontObjCmd(clientData, interp, objc, objv) ^ ./../generic/tkFont.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateDependantFonts(fiPtr, tkwin, namedHashPtr) ^ ./../generic/tkFont.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TheWorldHasChanged(clientData) ^ ./../generic/tkFont.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RecomputeWidgets(winPtr) ^ ./../generic/tkFont.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkCreateNamedFont(interp, tkwin, name, faPtr) ^ ./../generic/tkFont.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetFont(interp, tkwin, string) ^ ./../generic/tkFont.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetFontFromObj(interp, tkwin, objPtr) ^ ./../generic/tkFont.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfFont(tkfont) ^ ./../generic/tkFont.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeFont(tkfont) ^ ./../generic/tkFont.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FontId(tkfont) ^ ./../generic/tkFont.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetFontMetrics(tkfont, fmPtr) ^ ./../generic/tkFont.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PostscriptFontName(tkfont, dsPtr) ^ ./../generic/tkFont.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_TextWidth(tkfont, string, numChars) ^ ./../generic/tkFont.c:1360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_UnderlineChars(display, drawable, gc, tkfont, string, x, y, firstChar, ^ ./../generic/tkFont.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ComputeTextLayout(tkfont, string, numChars, wrapLength, justify, flags, ^ ./../generic/tkFont.c:1717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeTextLayout(textLayout) ^ ./../generic/tkFont.c:1750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DrawTextLayout(display, drawable, gc, layout, x, y, firstChar, lastChar) ^ ./../generic/tkFont.c:1829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_UnderlineTextLayout(display, drawable, gc, layout, x, y, underline) ^ ./../generic/tkFont.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PointToChar(layout, x, y) ^ ./../generic/tkFont.c:2028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CharBbox(layout, index, xPtr, yPtr, widthPtr, heightPtr) ^ ./../generic/tkFont.c:2141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DistanceToTextLayout(layout, x, y) ^ ./../generic/tkFont.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_IntersectTextLayout(layout, x, y, width, height) ^ ./../generic/tkFont.c:2335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_TextLayoutToPostscript(interp, layout) ^ ./../generic/tkFont.c:2424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkInitFontAttributes(faPtr) ^ ./../generic/tkFont.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigAttributesObj(interp, tkwin, objc, objv, faPtr) ^ ./../generic/tkFont.c:2559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAttributeInfoObj(interp, faPtr, objPtr) ^ ./../generic/tkFont.c:2689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseFontNameObj(interp, tkwin, objPtr, faPtr) ^ ./../generic/tkFont.c:2824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkParseXLFD(string, xaPtr) ^ ./../generic/tkFont.c:3007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FieldSpecified(field) ^ ./../generic/tkFont.c:3045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewChunk(layoutPtrPtr, maxPtr, start, numChars, curX, newX, y) ^ 33 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGet.c In file included from ./../generic/tkGet.c:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkGet.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetAnchor(interp, string, anchorPtr) ^ ./../generic/tkGet.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfAnchor(anchor) ^ ./../generic/tkGet.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetJoinStyle(interp, string, joinPtr) ^ ./../generic/tkGet.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfJoinStyle(join) ^ ./../generic/tkGet.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetCapStyle(interp, string, capPtr) ^ ./../generic/tkGet.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfCapStyle(cap) ^ ./../generic/tkGet.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetJustify(interp, string, justifyPtr) ^ ./../generic/tkGet.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfJustify(justify) ^ ./../generic/tkGet.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetUid(string) ^ ./../generic/tkGet.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetScreenMM(interp, tkwin, string, doublePtr) ^ ./../generic/tkGet.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetPixels(interp, tkwin, string, intPtr) ^ 12 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGC.c In file included from ./../generic/tkGC.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkGC.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetGC(tkwin, valueMask, valuePtr) ^ ./../generic/tkGC.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeGC(display, gc) ^ 3 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGeometry.c In file included from ./../generic/tkGeometry.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkGeometry.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ManageGeometry(tkwin, mgrPtr, clientData) ^ ./../generic/tkGeometry.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GeometryRequest(tkwin, reqWidth, reqHeight) ^ ./../generic/tkGeometry.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetInternalBorder(tkwin, width) ^ ./../generic/tkGeometry.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MaintainGeometry(slave, master, x, y, width, height) ^ ./../generic/tkGeometry.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_UnmaintainGeometry(slave, master) ^ ./../generic/tkGeometry.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaintainMasterProc(clientData, eventPtr) ^ ./../generic/tkGeometry.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaintainSlaveProc(clientData, eventPtr) ^ ./../generic/tkGeometry.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MaintainCheckProc(clientData) ^ 9 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGrab.c In file included from ./../generic/tkGrab.c:15: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkGrab.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GrabCmd(clientData, interp, argc, argv) ^ ./../generic/tkGrab.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Grab(interp, tkwin, grabGlobal) ^ ./../generic/tkGrab.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_Ungrab(tkwin) ^ ./../generic/tkGrab.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReleaseButtonGrab(dispPtr) ^ ./../generic/tkGrab.c:680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkPointerEvent(eventPtr, winPtr) ^ ./../generic/tkGrab.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkChangeEventWindow(eventPtr, winPtr) ^ ./../generic/tkGrab.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkInOutEvents(eventPtr, sourcePtr, destPtr, leaveType, enterType, position) ^ ./../generic/tkGrab.c:1126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MovePointer2(sourcePtr, destPtr, mode, leaveEvents, enterEvents) ^ ./../generic/tkGrab.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGrabDeadWindow(winPtr) ^ ./../generic/tkGrab.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EatGrabEvents(dispPtr, serial) ^ ./../generic/tkGrab.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabRestrictProc(arg, eventPtr) ^ ./../generic/tkGrab.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] QueueGrabWindowChange(dispPtr, grabWinPtr) ^ ./../generic/tkGrab.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GrabWinEventProc(evPtr, flags) ^ ./../generic/tkGrab.c:1413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindCommonAncestor(winPtr1, winPtr2, countPtr1, countPtr2) ^ ./../generic/tkGrab.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkPositionInTree(winPtr, treePtr) ^ ./../generic/tkGrab.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGrabState(winPtr) ^ 17 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGrid.c In file included from ./../generic/tkGrid.c:14: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkGrid.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GridCmd(clientData, interp, argc, argv) ^ ./../generic/tkGrid.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GridReqProc(clientData, tkwin) ^ ./../generic/tkGrid.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GridLostSlaveProc(clientData, tkwin) ^ ./../generic/tkGrid.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AdjustOffsets(size, slots, slotPtr) ^ ./../generic/tkGrid.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AdjustForSticky(slavePtr, xPtr, yPtr, widthPtr, heightPtr) ^ ./../generic/tkGrid.c:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArrangeGrid(clientData) ^ ./../generic/tkGrid.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResolveConstraints(masterPtr, slotType, maxOffset) ^ ./../generic/tkGrid.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetGrid(tkwin) ^ ./../generic/tkGrid.c:1819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetGridSize(masterPtr) ^ ./../generic/tkGrid.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckSlotData(masterPtr, slot, slotType, checkOnly) ^ ./../generic/tkGrid.c:1942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InitMasterData(masterPtr) ^ ./../generic/tkGrid.c:1985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unlink(slavePtr) ^ ./../generic/tkGrid.c:2046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyGrid(memPtr) ^ ./../generic/tkGrid.c:2083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GridStructureProc(clientData, eventPtr) ^ ./../generic/tkGrid.c:2160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureSlaves(interp, tkwin, argc, argv) ^ ./../generic/tkGrid.c:2596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StickyToString(flags, result) ^ ./../generic/tkGrid.c:2647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringToSticky(string) ^ 18 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkOption.c In file included from ./../generic/tkOption.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkOption.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_AddOption(tkwin, name, value, priority) ^ ./../generic/tkOption.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetOption(tkwin, name, className) ^ ./../generic/tkOption.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_OptionCmd(clientData, interp, argc, argv) ^ ./../generic/tkOption.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkOptionDeadWindow(winPtr) ^ ./../generic/tkOption.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkOptionClassChanged(winPtr) ^ ./../generic/tkOption.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParsePriority(interp, string) ^ ./../generic/tkOption.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AddFromString(interp, tkwin, string, priority) ^ ./../generic/tkOption.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadOptionFile(interp, tkwin, fileName, priority) ^ ./../generic/tkOption.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NewArray(numEls) ^ ./../generic/tkOption.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendArray(arrayPtr, elPtr) ^ ./../generic/tkOption.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetupStacks(winPtr, leaf) ^ ./../generic/tkOption.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExtendStacks(arrayPtr, leaf) ^ ./../generic/tkOption.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OptionInit(mainPtr) ^ ./../generic/tkOption.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ClearOptionTree(arrayPtr) ^ ./../generic/tkOption.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDefaultOptions(interp, winPtr) ^ 16 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkPack.c In file included from ./../generic/tkPack.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkPack.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PackCmd(clientData, interp, argc, argv) ^ ./../generic/tkPack.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackReqProc(clientData, tkwin) ^ ./../generic/tkPack.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackLostSlaveProc(clientData, tkwin) ^ ./../generic/tkPack.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArrangePacking(clientData) ^ ./../generic/tkPack.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XExpansion(slavePtr, cavityWidth) ^ ./../generic/tkPack.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] YExpansion(slavePtr, cavityHeight) ^ ./../generic/tkPack.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPacker(tkwin) ^ ./../generic/tkPack.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackAfter(interp, prevPtr, masterPtr, argc, argv) ^ ./../generic/tkPack.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Unlink(packPtr) ^ ./../generic/tkPack.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyPacker(memPtr) ^ ./../generic/tkPack.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PackStructureProc(clientData, eventPtr) ^ ./../generic/tkPack.c:1456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureSlaves(interp, tkwin, argc, argv) ^ 13 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkPlace.c In file included from ./../generic/tkPlace.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkPlace.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PlaceCmd(clientData, interp, argc, argv) ^ ./../generic/tkPlace.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindSlave(tkwin) ^ ./../generic/tkPlace.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnlinkSlave(slavePtr) ^ ./../generic/tkPlace.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindMaster(tkwin) ^ ./../generic/tkPlace.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureSlave(interp, slavePtr, argc, argv) ^ ./../generic/tkPlace.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RecomputePlacement(clientData) ^ ./../generic/tkPlace.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MasterStructureProc(clientData, eventPtr) ^ ./../generic/tkPlace.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SlaveStructureProc(clientData, eventPtr) ^ ./../generic/tkPlace.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaceRequestProc(clientData, tkwin) ^ ./../generic/tkPlace.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PlaceLostSlaveProc(clientData, tkwin) ^ 11 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkSelect.c In file included from ./../generic/tkSelect.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkSelect.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateSelHandler(tkwin, selection, target, proc, clientData, format) ^ ./../generic/tkSelect.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteSelHandler(tkwin, selection, target) ^ ./../generic/tkSelect.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_OwnSelection(tkwin, selection, proc, clientData) ^ ./../generic/tkSelect.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ClearSelection(tkwin, selection) ^ ./../generic/tkSelect.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetSelection(interp, tkwin, selection, target, proc, clientData) ^ ./../generic/tkSelect.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SelectionCmd(clientData, interp, argc, argv) ^ ./../generic/tkSelect.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkSelDeadWindow(winPtr) ^ ./../generic/tkSelect.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkSelInit(tkwin) ^ ./../generic/tkSelect.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkSelClearSelection(tkwin, eventPtr) ^ ./../generic/tkSelect.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelGetProc(clientData, interp, portion) ^ ./../generic/tkSelect.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HandleTclCommand(clientData, offset, buffer, maxBytes) ^ ./../generic/tkSelect.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkSelDefaultSelection(infoPtr, target, buffer, maxBytes, typePtr) ^ ./../generic/tkSelect.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LostSelection(clientData) ^ 14 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkUtil.c In file included from ./../generic/tkUtil.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkUtil.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkDrawInsetFocusHighlight(tkwin, gc, width, drawable, padding) ^ ./../generic/tkUtil.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DrawFocusHighlight(tkwin, gc, width, drawable) ^ ./../generic/tkUtil.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetScrollInfo(interp, argc, argv, dblPtr, intPtr) ^ ./../generic/tkUtil.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkComputeAnchor(anchor, tkwin, padX, padY, innerWidth, innerHeight, xPtr, yPtr) ^ ./../generic/tkUtil.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFindStateString(mapPtr, numKey) ^ ./../generic/tkUtil.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFindStateNum(interp, field, mapPtr, strKey) ^ 7 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkVisual.c In file included from ./../generic/tkVisual.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkVisual.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetVisual(interp, tkwin, string, depthPtr, colormapPtr) ^ ./../generic/tkVisual.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetColormap(interp, tkwin, string) ^ ./../generic/tkVisual.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeColormap(display, colormap) ^ ./../generic/tkVisual.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PreserveColormap(display, colormap) ^ 5 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkWindow.c In file included from ./../generic/tkWindow.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkWindow.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateTopLevelWindow(interp, parent, name, screenName) ^ ./../generic/tkWindow.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetScreen(interp, screenName, screenPtr) ^ ./../generic/tkWindow.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetDisplay(display) ^ ./../generic/tkWindow.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkAllocWindow(dispPtr, screenNum, parentPtr) ^ ./../generic/tkWindow.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NameWindow(interp, winPtr, parentPtr, name) ^ ./../generic/tkWindow.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkCreateMainWindow(interp, screenName, baseName) ^ ./../generic/tkWindow.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateWindow(interp, parent, name, screenName) ^ ./../generic/tkWindow.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateWindowFromPath(interp, tkwin, pathName, screenName) ^ ./../generic/tkWindow.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DestroyWindow(tkwin) ^ ./../generic/tkWindow.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MapWindow(tkwin) ^ ./../generic/tkWindow.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MakeWindowExist(tkwin) ^ ./../generic/tkWindow.c:1522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_UnmapWindow(tkwin) ^ ./../generic/tkWindow.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ConfigureWindow(tkwin, valueMask, valuePtr) ^ ./../generic/tkWindow.c:1594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MoveWindow(tkwin, x, y) ^ ./../generic/tkWindow.c:1613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ResizeWindow(tkwin, width, height) ^ ./../generic/tkWindow.c:1632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MoveResizeWindow(tkwin, x, y, width, height) ^ ./../generic/tkWindow.c:1655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetWindowBorderWidth(tkwin, width) ^ ./../generic/tkWindow.c:1673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ChangeWindowAttributes(tkwin, valueMask, attsPtr) ^ ./../generic/tkWindow.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetWindowBackground(tkwin, pixel) ^ ./../generic/tkWindow.c:1757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetWindowBackgroundPixmap(tkwin, pixmap) ^ ./../generic/tkWindow.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetWindowBorder(tkwin, pixel) ^ ./../generic/tkWindow.c:1794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetWindowBorderPixmap(tkwin, pixmap) ^ ./../generic/tkWindow.c:1813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DefineCursor(tkwin, cursor) ^ ./../generic/tkWindow.c:1833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_UndefineCursor(tkwin) ^ ./../generic/tkWindow.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetWindowColormap(tkwin, colormap) ^ ./../generic/tkWindow.c:1880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetWindowVisual(tkwin, visual, depth, colormap) ^ ./../generic/tkWindow.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkDoConfigureNotify(winPtr) ^ ./../generic/tkWindow.c:1972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetClass(tkwin, className) ^ ./../generic/tkWindow.c:2004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkSetClassProcs(tkwin, procs, instanceData) ^ ./../generic/tkWindow.c:2036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameToWindow(interp, pathName, tkwin) ^ ./../generic/tkWindow.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_IdToWindow(display, window) ^ ./../generic/tkWindow.c:2116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DisplayName(tkwin) ^ ./../generic/tkWindow.c:2140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnlinkWindow(winPtr) ^ ./../generic/tkWindow.c:2187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_RestackWindow(tkwin, aboveBelow, other) ^ ./../generic/tkWindow.c:2317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MainWindow(interp) ^ ./../generic/tkWindow.c:2355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_StrictMotif(tkwin) ^ ./../generic/tkWindow.c:2382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OpenIM(dispPtr) ^ ./../generic/tkWindow.c:2462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteWindowsExitProc(clientData) ^ 39 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnix.c In file included from ./tkUnix.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnix.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetServerInfo(interp, tkwin) ^ ./tkUnix.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetDefaultScreenName(interp, screenName) ^ 3 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnix3d.c In file included from ./tkUnix3d.c:15: In file included from ./../generic/tk3d.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnix3d.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpFreeBorder(borderPtr) ^ ./tkUnix3d.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_3DVerticalBevel(tkwin, drawable, border, x, y, width, height, ^ ./tkUnix3d.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_3DHorizontalBevel(tkwin, drawable, border, x, y, width, height, ^ ./tkUnix3d.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpGetShadows(borderPtr, tkwin) ^ 5 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixButton.c In file included from ./tkUnixButton.c:15: In file included from ./../generic/tkButton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixButton.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpCreateButton(tkwin) ^ ./tkUnixButton.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDisplayButton(clientData) ^ ./tkUnixButton.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpComputeButtonGeometry(butPtr) ^ 4 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixColor.c In file included from ./tkUnixColor.c:15: In file included from ./../generic/tkColor.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixColor.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpFreeColor(tkColPtr) ^ ./tkUnixColor.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpGetColor(tkwin, name) ^ ./tkUnixColor.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpGetColorByValue(tkwin, colorPtr) ^ ./tkUnixColor.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindClosestColor(tkwin, desiredColorPtr, actualColorPtr) ^ ./tkUnixColor.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteStressedCmap(display, colormap) ^ ./tkUnixColor.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpCmapStressed(tkwin, colormap) ^ 7 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixCursor.c In file included from ./tkUnixCursor.c:14: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixCursor.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetCursorByName(interp, tkwin, string) ^ ./tkUnixCursor.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkCreateCursorFromData(tkwin, source, mask, width, height, xHot, yHot, ^ ./tkUnixCursor.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFreeCursor(cursorPtr) ^ 4 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixDraw.c In file included from ./tkUnixDraw.c:14: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixDraw.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkScrollWindow(tkwin, gc, x, y, width, height, dx, dy, damageRgn) ^ ./tkUnixDraw.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollRestrictProc(arg, eventPtr) ^ 3 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixEmbed.c In file included from ./tkUnixEmbed.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixEmbed.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpUseWindow(interp, tkwin, string) ^ ./tkUnixEmbed.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpMakeWindow(winPtr, parent) ^ ./tkUnixEmbed.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpMakeContainer(tkwin) ^ ./tkUnixEmbed.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbedErrorProc(clientData, errEventPtr) ^ ./tkUnixEmbed.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbeddedEventProc(clientData, eventPtr) ^ ./tkUnixEmbed.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ContainerEventProc(clientData, eventPtr) ^ ./tkUnixEmbed.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbedStructureProc(clientData, eventPtr) ^ ./tkUnixEmbed.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbedFocusProc(clientData, eventPtr) ^ ./tkUnixEmbed.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbedGeometryRequest(containerPtr, width, height) ^ ./tkUnixEmbed.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbedSendConfigure(containerPtr) ^ ./tkUnixEmbed.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpGetOtherWindow(winPtr) ^ ./tkUnixEmbed.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpRedirectKeyEvent(winPtr, eventPtr) ^ ./tkUnixEmbed.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpClaimFocus(topLevelPtr, force) ^ ./tkUnixEmbed.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpTestembedCmd(clientData, interp, argc, argv) ^ ./tkUnixEmbed.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbedWindowDeleted(winPtr) ^ ./tkUnixEmbed.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkUnixContainerId(winPtr) ^ 17 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixEvent.c In file included from ./tkUnixEvent.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixEvent.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayExitHandler(clientData) ^ ./tkUnixEvent.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpOpenDisplay(display_name) ^ ./tkUnixEvent.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpCloseDisplay(displayPtr) ^ ./tkUnixEvent.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplaySetupProc(clientData, flags) ^ ./tkUnixEvent.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayCheckProc(clientData, flags) ^ ./tkUnixEvent.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayFileProc(clientData, flags) ^ ./tkUnixEvent.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkUnixDoOneXEvent(timePtr) ^ ./tkUnixEvent.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpSync(display) ^ 9 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixFocus.c In file included from ./tkUnixFocus.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixFocus.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpChangeFocus(winPtr, force) ^ 2 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixFont.c In file included from ./tkUnixFont.c:15: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixFont.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpGetNativeFont(tkwin, name) ^ ./tkUnixFont.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpGetFontFromAttributes(tkFontPtr, tkwin, faPtr) ^ ./tkUnixFont.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDeleteFont(tkFontPtr) ^ ./tkUnixFont.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpGetFontFamilies(interp, tkwin) ^ ./tkUnixFont.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MeasureChars(tkfont, source, numChars, maxLength, flags, lengthPtr) ^ ./tkUnixFont.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DrawChars(display, drawable, gc, tkfont, source, numChars, x, y) ^ ./tkUnixFont.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawChars(display, drawable, gc, fontPtr, source, numChars, x, y) ^ ./tkUnixFont.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocFont(tkFontPtr, tkwin, fontStructPtr, fontName) ^ ./tkUnixFont.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetControlCharSubst(c, buf) ^ 10 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DTK_LIBRARY=\"/usr/local/lib/tk4.0.1\" ./tkUnixInit.c In file included from ./tkUnixInit.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixInit.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpInit(interp) ^ 2 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixMenu.c In file included from ./tkUnixMenu.c:14: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixMenu.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpNewMenu(menuPtr) ^ ./tkUnixMenu.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDestroyMenu(menuPtr) ^ ./tkUnixMenu.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDestroyMenuEntry(mEntryPtr) ^ ./tkUnixMenu.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpConfigureMenuEntry(mePtr) ^ ./tkUnixMenu.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpMenuNewEntry(mePtr) ^ ./tkUnixMenu.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpSetWindowMenuBar(tkwin, menuPtr) ^ ./tkUnixMenu.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpSetMainMenubar(interp, tkwin, menuName) ^ ./tkUnixMenu.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMenuIndicatorGeometry(menuPtr, mePtr, tkfont, fmPtr, widthPtr, heightPtr) ^ ./tkUnixMenu.c:332:4: warning: cast to 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] (TkMenuPlatformEntryData) ((65 * mePtr->height) / 100); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:335:4: warning: cast to 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] (TkMenuPlatformEntryData) ((75 * mePtr->height) / 100); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:340:30: warning: cast to 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] mePtr->platformEntryData = (TkMenuPlatformEntryData) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:343:30: warning: cast to 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] mePtr->platformEntryData = (TkMenuPlatformEntryData) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMenuAccelGeometry(menuPtr, mePtr, tkfont, fmPtr, widthPtr, heightPtr) ^ ./tkUnixMenu.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawMenuEntryBackground(menuPtr, mePtr, d, activeBorder, bgBorder, x, y, ^ ./tkUnixMenu.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawMenuEntryAccelerator(menuPtr, mePtr, d, gc, tkfont, fmPtr, activeBorder, ^ ./tkUnixMenu.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawMenuEntryIndicator(menuPtr, mePtr, d, gc, indicatorGC, tkfont, fmPtr, ^ ./tkUnixMenu.c:547:8: warning: cast to smaller integer type 'int' from 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') [-Wpointer-to-int-cast] dim = (int) mePtr->platformEntryData; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:575:12: warning: cast to smaller integer type 'int' from 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') [-Wpointer-to-int-cast] radius = ((int) mePtr->platformEntryData)/2; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:577:5: warning: cast to smaller integer type 'int' from 'TkMenuPlatformEntryData' (aka 'struct TkMenuPlatformEntryData_ *') [-Wpointer-to-int-cast] - (int) mePtr->platformEntryData)/2; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./tkUnixMenu.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawMenuSeparator(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, y, width, height) ^ ./tkUnixMenu.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawMenuEntryLabel( ^ ./tkUnixMenu.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawMenuUnderline(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, y, width, height) ^ ./tkUnixMenu.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpPostMenu(interp, menuPtr, x, y) ^ ./tkUnixMenu.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMenuSeparatorGeometry(menuPtr, mePtr, tkfont, fmPtr, widthPtr, ^ ./tkUnixMenu.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetTearoffEntryGeometry(menuPtr, mePtr, tkfont, fmPtr, widthPtr, heightPtr) ^ ./tkUnixMenu.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpComputeMenubarGeometry(menuPtr) ^ ./tkUnixMenu.c:1078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DrawTearoffEntry(menuPtr, mePtr, d, gc, tkfont, fmPtr, x, y, width, height) ^ ./tkUnixMenu.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpInitializeMenuBindings(interp, bindingTable) ^ ./tkUnixMenu.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetHelpMenu(menuPtr) ^ ./tkUnixMenu.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDrawMenuEntry(mePtr, d, tkfont, menuMetricsPtr, x, y, width, height, ^ ./tkUnixMenu.c:1344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMenuLabelGeometry(mePtr, tkfont, fmPtr, widthPtr, heightPtr) ^ ./tkUnixMenu.c:1391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpComputeStandardMenuGeometry( ^ ./tkUnixMenu.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpMenuNotifyToplevelCreate(interp, menuName) ^ 34 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixMenubu.c In file included from ./tkUnixMenubu.c:15: In file included from ./../generic/tkMenubutton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixMenubu.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpCreateMenuButton(tkwin) ^ ./tkUnixMenubu.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDisplayMenuButton(clientData) ^ ./tkUnixMenubu.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDestroyMenuButton(mbPtr) ^ ./tkUnixMenubu.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpComputeMenuButtonGeometry(mbPtr) ^ 5 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixScale.c In file included from ./tkUnixScale.c:15: In file included from ./../generic/tkScale.h:19: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixScale.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpCreateScale(tkwin) ^ ./tkUnixScale.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDestroyScale(scalePtr) ^ ./tkUnixScale.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayVerticalScale(scalePtr, drawable, drawnAreaPtr) ^ ./tkUnixScale.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayVerticalValue(scalePtr, drawable, value, rightEdge) ^ ./tkUnixScale.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayHorizontalScale(scalePtr, drawable, drawnAreaPtr) ^ ./tkUnixScale.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayHorizontalValue(scalePtr, drawable, value, top) ^ ./tkUnixScale.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDisplayScale(clientData) ^ ./tkUnixScale.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpScaleElement(scalePtr, x, y) ^ ./tkUnixScale.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpSetScaleValue(scalePtr, value, setVar, invokeCommand) ^ ./tkUnixScale.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpPixelToValue(scalePtr, x, y) ^ ./tkUnixScale.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpValueToPixel(scalePtr, value) ^ 12 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixScrlbr.c In file included from ./tkUnixScrlbr.c:15: In file included from ./../generic/tkScrollbar.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixScrlbr.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpCreateScrollbar(tkwin) ^ ./tkUnixScrlbr.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDisplayScrollbar(clientData) ^ ./tkUnixScrlbr.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpComputeScrollbarGeometry(scrollPtr) ^ ./tkUnixScrlbr.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpDestroyScrollbar(scrollPtr) ^ ./tkUnixScrlbr.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpConfigureScrollbar(scrollPtr) ^ ./tkUnixScrlbr.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpScrollbarPosition(scrollPtr, x, y) ^ 7 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixSelect.c In file included from ./tkUnixSelect.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixSelect.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkSelGetSelection(interp, tkwin, selection, target, proc, clientData) ^ ./tkUnixSelect.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkSelPropProc(eventPtr) ^ ./tkUnixSelect.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkSelEventProc(tkwin, eventPtr) ^ ./tkUnixSelect.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelTimeoutProc(clientData) ^ ./tkUnixSelect.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConvertSelection(winPtr, eventPtr) ^ ./tkUnixSelect.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelRcvIncrProc(clientData, eventPtr) ^ ./tkUnixSelect.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelectionSize(selPtr) ^ ./tkUnixSelect.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IncrTimeoutProc(clientData) ^ ./tkUnixSelect.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelCvtToX(string, type, tkwin, numLongsPtr) ^ ./tkUnixSelect.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SelCvtFromX(propPtr, numValues, type, tkwin) ^ 11 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixSend.c In file included from ./tkUnixSend.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixSend.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RegOpen(interp, dispPtr, lock) ^ ./tkUnixSend.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RegFindName(regPtr, name) ^ ./tkUnixSend.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RegDeleteName(regPtr, name) ^ ./tkUnixSend.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RegAddName(regPtr, name, commWindow) ^ ./tkUnixSend.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RegClose(regPtr) ^ ./tkUnixSend.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ValidateName(dispPtr, name, commWindow, oldOK) ^ ./tkUnixSend.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ServerSecure(dispPtr) ^ ./tkUnixSend.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetAppName(tkwin, name) ^ ./tkUnixSend.c:898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SendCmd(clientData, interp, argc, argv) ^ ./tkUnixSend.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetInterpNames(interp, tkwin) ^ ./tkUnixSend.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendInit(interp, dispPtr) ^ ./tkUnixSend.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendEventProc(clientData, eventPtr) ^ ./tkUnixSend.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AppendPropCarefully(display, window, property, value, length, pendingPtr) ^ ./tkUnixSend.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AppendErrorProc(clientData, errorPtr) ^ ./tkUnixSend.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteProc(clientData) ^ ./tkUnixSend.c:1847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SendRestrictProc(clientData, eventPtr) ^ ./tkUnixSend.c:1885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateCommWindow(dispPtr) ^ 18 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixWm.c In file included from ./tkUnixWm.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixWm.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmNewWindow(winPtr) ^ ./tkUnixWm.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmMapWindow(winPtr) ^ ./tkUnixWm.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmUnmapWindow(winPtr) ^ ./tkUnixWm.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmDeadWindow(winPtr) ^ ./tkUnixWm.c:739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmSetClass(winPtr) ^ ./tkUnixWm.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_WmCmd(clientData, interp, argc, argv) ^ ./tkUnixWm.c:2041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SetGrid(tkwin, reqWidth, reqHeight, widthInc, heightInc) ^ ./tkUnixWm.c:2140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_UnsetGrid(tkwin) ^ ./tkUnixWm.c:2204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureEvent(wmPtr, configEventPtr) ^ ./tkUnixWm.c:2383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReparentEvent(wmPtr, reparentEventPtr) ^ ./tkUnixWm.c:2515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeReparentGeometry(wmPtr) ^ ./tkUnixWm.c:2619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WrapperEventProc(clientData, eventPtr) ^ ./tkUnixWm.c:2703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TopLevelReqProc(dummy, tkwin) ^ ./tkUnixWm.c:2768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateGeometryInfo(clientData) ^ ./tkUnixWm.c:2979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateSizeHints(winPtr) ^ ./tkUnixWm.c:3104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WaitForConfigureNotify(winPtr, serial) ^ ./tkUnixWm.c:3172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WaitForEvent(display, window, type, eventPtr) ^ ./tkUnixWm.c:3235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WaitRestrictProc(clientData, eventPtr) ^ ./tkUnixWm.c:3286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WaitForMapNotify(winPtr, mapped) ^ ./tkUnixWm.c:3348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateHints(winPtr) ^ ./tkUnixWm.c:3379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseGeometry(interp, string, winPtr) ^ ./tkUnixWm.c:3515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetRootCoords(tkwin, xPtr, yPtr) ^ ./tkUnixWm.c:3611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CoordsToWindow(rootX, rootY, tkwin) ^ ./tkUnixWm.c:3789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateVRootGeometry(wmPtr) ^ ./tkUnixWm.c:3865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetVRootGeometry(tkwin, xPtr, yPtr, widthPtr, heightPtr) ^ ./tkUnixWm.c:3921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MoveToplevelWindow(tkwin, x, y) ^ ./tkUnixWm.c:3975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateWmProtocols(wmPtr) ^ ./tkUnixWm.c:4033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmProtocolEventProc(winPtr, eventPtr) ^ ./tkUnixWm.c:4108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmRestackToplevel(winPtr, aboveBelow, otherPtr) ^ ./tkUnixWm.c:4328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmAddToColormapWindows(winPtr) ^ ./tkUnixWm.c:4425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmRemoveFromColormapWindows(winPtr) ^ ./tkUnixWm.c:4516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetPointerCoords(tkwin, xPtr, yPtr) ^ ./tkUnixWm.c:4563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetMaxSize(wmPtr, maxWidthPtr, maxHeightPtr) ^ ./tkUnixWm.c:4624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpMakeMenuWindow(tkwin, transient) ^ ./tkUnixWm.c:4688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateWrapper(wmPtr) ^ ./tkUnixWm.c:4791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkWmFocusToplevel(winPtr) ^ ./tkUnixWm.c:4824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkUnixSetMenubar(tkwin, menubar) ^ ./tkUnixWm.c:4914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenubarDestroyProc(clientData, eventPtr) ^ ./tkUnixWm.c:4952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenubarReqProc(clientData, tkwin) ^ ./tkUnixWm.c:4989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpGetWrapperWindow(winPtr) ^ 41 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixXId.c In file included from ./tkUnixXId.c:31: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./tkUnixXId.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkInitXId(dispPtr) ^ ./tkUnixXId.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocXId(display) ^ ./tkUnixXId.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeXId(display, xid) ^ ./tkUnixXId.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFreeWindowId(dispPtr, w) ^ ./tkUnixXId.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowIdCleanup(clientData) ^ ./tkUnixXId.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WindowIdCleanup2(clientData) ^ ./tkUnixXId.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckRestrictProc(clientData, eventPtr) ^ ./tkUnixXId.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetPixmap(display, d, width, height, depth) ^ ./tkUnixXId.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreePixmap(display, pixmap) ^ ./tkUnixXId.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkpWindowWasRecentlyDeleted(win, dispPtr) ^ 11 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkButton.c In file included from ./../generic/tkButton.c:18: In file included from ./../generic/tkButton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkButton.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ButtonCmd(clientData, interp, argc, argv) ^ ./../generic/tkButton.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CheckbuttonCmd(clientData, interp, argc, argv) ^ ./../generic/tkButton.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_LabelCmd(clientData, interp, argc, argv) ^ ./../generic/tkButton.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_RadiobuttonCmd(clientData, interp, argc, argv) ^ ./../generic/tkButton.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonCreate(clientData, interp, argc, argv, type) ^ ./../generic/tkButton.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkButton.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyButton(butPtr) ^ ./../generic/tkButton.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureButton(interp, butPtr, argc, argv, flags) ^ ./../generic/tkButton.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkButtonWorldChanged(instanceData) ^ ./../generic/tkButton.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonEventProc(clientData, eventPtr) ^ ./../generic/tkButton.c:1186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonCmdDeletedProc(clientData) ^ ./../generic/tkButton.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkInvokeButton(butPtr) ^ ./../generic/tkButton.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonVarProc(clientData, interp, name1, name2, flags) ^ ./../generic/tkButton.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonTextVarProc(clientData, interp, name1, name2, flags) ^ ./../generic/tkButton.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonImageProc(clientData, x, y, width, height, imgWidth, imgHeight) ^ ./../generic/tkButton.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ButtonSelectImageProc(clientData, x, y, width, height, imgWidth, imgHeight) ^ 17 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkEntry.c In file included from ./../generic/tkEntry.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkEntry.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_EntryCmd(clientData, interp, argc, argv) ^ ./../generic/tkEntry.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkEntry.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyEntry(memPtr) ^ ./../generic/tkEntry.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureEntry(interp, entryPtr, argc, argv, flags) ^ ./../generic/tkEntry.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryWorldChanged(instanceData) ^ ./../generic/tkEntry.c:1108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayEntry(clientData) ^ ./../generic/tkEntry.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryComputeGeometry(entryPtr) ^ ./../generic/tkEntry.c:1422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertChars(entryPtr, index, string) ^ ./../generic/tkEntry.c:1493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteChars(entryPtr, index, count) ^ ./../generic/tkEntry.c:1585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryValueChanged(entryPtr) ^ ./../generic/tkEntry.c:1646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntrySetValue(entryPtr, value) ^ ./../generic/tkEntry.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryEventProc(clientData, eventPtr) ^ ./../generic/tkEntry.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryCmdDeletedProc(clientData) ^ ./../generic/tkEntry.c:1790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetEntryIndex(interp, entryPtr, string, indexPtr) ^ ./../generic/tkEntry.c:1902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryScanTo(entryPtr, x) ^ ./../generic/tkEntry.c:1956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntrySelectTo(entryPtr, index) ^ ./../generic/tkEntry.c:2022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryFetchSelection(clientData, offset, buffer, maxBytes) ^ ./../generic/tkEntry.c:2076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryLostSelection(clientData) ^ ./../generic/tkEntry.c:2118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EventuallyRedraw(entryPtr) ^ ./../generic/tkEntry.c:2157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryVisibleRange(entryPtr, firstPtr, lastPtr) ^ ./../generic/tkEntry.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryUpdateScrollbar(entryPtr) ^ ./../generic/tkEntry.c:2257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryBlinkProc(clientData) ^ ./../generic/tkEntry.c:2296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryFocusProc(entryPtr, gotFocus) ^ ./../generic/tkEntry.c:2336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryTextVarProc(clientData, interp, name1, name2, flags) ^ 25 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkFrame.c In file included from ./../generic/tkFrame.c:19: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkFrame.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FrameCmd(clientData, interp, argc, argv) ^ ./../generic/tkFrame.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ToplevelCmd(clientData, interp, argc, argv) ^ ./../generic/tkFrame.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkCreateFrame(clientData, interp, argc, argv, toplevel, appName) ^ ./../generic/tkFrame.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FrameWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkFrame.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyFrame(memPtr) ^ ./../generic/tkFrame.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureFrame(interp, framePtr, argc, argv, flags) ^ ./../generic/tkFrame.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayFrame(clientData) ^ ./../generic/tkFrame.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FrameEventProc(clientData, eventPtr) ^ ./../generic/tkFrame.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FrameCmdDeletedProc(clientData) ^ ./../generic/tkFrame.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MapFrame(clientData) ^ ./../generic/tkFrame.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkInstallFrameMenu(tkwin) ^ 12 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkListbox.c In file included from ./../generic/tkListbox.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkListbox.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ListboxCmd(clientData, interp, argc, argv) ^ ./../generic/tkListbox.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkListbox.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyListbox(memPtr) ^ ./../generic/tkListbox.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureListbox(interp, listPtr, argc, argv, flags) ^ ./../generic/tkListbox.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxWorldChanged(instanceData) ^ ./../generic/tkListbox.c:1165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayListbox(clientData) ^ ./../generic/tkListbox.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxComputeGeometry(listPtr, fontChanged, maxIsStale, updateGrid) ^ ./../generic/tkListbox.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertEls(listPtr, index, argc, argv) ^ ./../generic/tkListbox.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteEls(listPtr, first, last) ^ ./../generic/tkListbox.c:1658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxEventProc(clientData, eventPtr) ^ ./../generic/tkListbox.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxCmdDeletedProc(clientData) ^ ./../generic/tkListbox.c:1777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetListboxIndex(interp, listPtr, string, endIsSize, indexPtr) ^ ./../generic/tkListbox.c:1855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeListboxView(listPtr, index) ^ ./../generic/tkListbox.c:1895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeListboxOffset(listPtr, offset) ^ ./../generic/tkListbox.c:1942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxScanTo(listPtr, x, y) ^ ./../generic/tkListbox.c:2015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NearestListboxElement(listPtr, y) ^ ./../generic/tkListbox.c:2056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxSelect(listPtr, first, last, select) ^ ./../generic/tkListbox.c:2133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxFetchSelection(clientData, offset, buffer, maxBytes) ^ ./../generic/tkListbox.c:2212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxLostSelection(clientData) ^ ./../generic/tkListbox.c:2241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxRedrawRange(listPtr, first, last) ^ ./../generic/tkListbox.c:2279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxUpdateVScrollbar(listPtr) ^ ./../generic/tkListbox.c:2341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListboxUpdateHScrollbar(listPtr) ^ 23 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMenu.c In file included from ./../generic/tkMenu.c:71: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkMenu.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MenuCmd(clientData, interp, argc, argv) ^ ./../generic/tkMenu.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkMenu.c:951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkInvokeMenu(interp, menuPtr, index) ^ ./../generic/tkMenu.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMenuInstance(menuPtr) ^ ./../generic/tkMenu.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkDestroyMenu(menuPtr) ^ ./../generic/tkMenu.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UnhookCascadeEntry(mePtr) ^ ./../generic/tkMenu.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMenuEntry(memPtr) ^ ./../generic/tkMenu.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuWorldChanged(instanceData) ^ ./../generic/tkMenu.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureMenu(interp, menuPtr, argc, argv, flags) ^ ./../generic/tkMenu.c:1502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureMenuEntry(mePtr, argc, argv, flags) ^ ./../generic/tkMenu.c:1532:34: warning: passing arguments to 'Tk_Menu_ConfigureWidget' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Tk_Menu_ConfigureWidget(menuPtr->interp, &menuPtr->entries[index], ^ ./../generic/tkMenu.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureMenuCloneEntries(interp, menuPtr, index, argc, argv, flags) ^ ./../generic/tkMenu.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetMenuIndex(interp, menuPtr, string, lastOK, indexPtr) ^ ./../generic/tkMenu.c:1933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuCmdDeletedProc(clientData) ^ ./../generic/tkMenu.c:1971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuNewEntry(menuPtr, index, type) ^ ./../generic/tkMenu.c:2062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuAddOrInsert(interp, menuPtr, indexString, argc, argv) ^ ./../generic/tkMenu.c:2218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuVarProc(clientData, interp, name1, name2, flags) ^ ./../generic/tkMenu.c:2297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkActivateMenuEntry(menuPtr, index) ^ ./../generic/tkMenu.c:2346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkPostCommand(menuPtr) ^ ./../generic/tkMenu.c:2389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CloneMenu(menuPtr, newMenuName, newMenuTypeString) ^ ./../generic/tkMenu.c:2583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuDoYPosition(interp, menuPtr, arg) ^ ./../generic/tkMenu.c:2625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetIndexFromCoords(interp, menuPtr, string, indexPtr) ^ ./../generic/tkMenu.c:2690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RecursivelyDeleteMenu(menuPtr) ^ ./../generic/tkMenu.c:2725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkNewMenuName(interp, parentName, menuPtr) ^ ./../generic/tkMenu.c:2809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkSetWindowMenuBar(interp, tkwin, oldMenuName, menuName) ^ ./../generic/tkMenu.c:2967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMenuHashTable(clientData, interp) ^ ./../generic/tkMenu.c:2994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetMenuHashTable(interp) ^ ./../generic/tkMenu.c:3031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkCreateMenuReferences(interp, pathName) ^ ./../generic/tkMenu.c:3085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFindMenuReferences(interp, pathName) ^ ./../generic/tkMenu.c:3125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFreeMenuReferences(menuRefPtr) ^ ./../generic/tkMenu.c:3155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteMenuCloneEntries(menuPtr, first, last) ^ 32 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMenubutton.c In file included from ./../generic/tkMenubutton.c:16: In file included from ./../generic/tkMenubutton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkMenubutton.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MenubuttonCmd(clientData, interp, argc, argv) ^ ./../generic/tkMenubutton.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuButtonWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkMenubutton.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMenuButton(memPtr) ^ ./../generic/tkMenubutton.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureMenuButton(interp, mbPtr, argc, argv, flags) ^ ./../generic/tkMenubutton.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuButtonWorldChanged(instanceData) ^ ./../generic/tkMenubutton.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuButtonEventProc(clientData, eventPtr) ^ ./../generic/tkMenubutton.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuButtonCmdDeletedProc(clientData) ^ ./../generic/tkMenubutton.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuButtonTextVarProc(clientData, interp, name1, name2, flags) ^ ./../generic/tkMenubutton.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MenuButtonImageProc(clientData, x, y, width, height, imgWidth, imgHeight) ^ 10 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMenuDraw.c In file included from ./../generic/tkMenuDraw.c:15: In file included from ./../generic/tkMenu.h:18: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkMenuDraw.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuInitializeDrawingFields(menuPtr) ^ ./../generic/tkMenuDraw.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuInitializeEntryDrawingFields(mePtr) ^ ./../generic/tkMenuDraw.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuFreeDrawOptions(menuPtr) ^ ./../generic/tkMenuDraw.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuEntryFreeDrawOptions(mePtr) ^ ./../generic/tkMenuDraw.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuConfigureDrawOptions(menuPtr) ^ ./../generic/tkMenuDraw.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuConfigureEntryDrawOptions(mePtr, index) ^ ./../generic/tkMenuDraw.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkEventuallyRecomputeMenu(menuPtr) ^ ./../generic/tkMenuDraw.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkRecomputeMenu(menuPtr) ^ ./../generic/tkMenuDraw.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkEventuallyRedrawMenu(menuPtr, mePtr) ^ ./../generic/tkMenuDraw.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeMenuGeometry(clientData) ^ ./../generic/tkMenuDraw.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuSelectImageProc(clientData, x, y, width, height, imgWidth, ^ ./../generic/tkMenuDraw.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayMenu(clientData) ^ ./../generic/tkMenuDraw.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuEventProc(clientData, eventPtr) ^ ./../generic/tkMenuDraw.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMenuImageProc(clientData, x, y, width, height, imgWidth, ^ ./../generic/tkMenuDraw.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkPostTearoffMenu(interp, menuPtr, x, y) ^ ./../generic/tkMenuDraw.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkPostSubmenu(interp, menuPtr, mePtr) ^ ./../generic/tkMenuDraw.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AdjustMenuCoords(menuPtr, mePtr, xPtr, yPtr, string) ^ 18 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMessage.c In file included from ./../generic/tkMessage.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkMessage.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_MessageCmd(clientData, interp, argc, argv) ^ ./../generic/tkMessage.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MessageWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkMessage.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyMessage(memPtr) ^ ./../generic/tkMessage.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureMessage(interp, msgPtr, argc, argv, flags) ^ ./../generic/tkMessage.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MessageWorldChanged(instanceData) ^ ./../generic/tkMessage.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeMessageGeometry(msgPtr) ^ ./../generic/tkMessage.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayMessage(clientData) ^ ./../generic/tkMessage.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MessageEventProc(clientData, eventPtr) ^ ./../generic/tkMessage.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MessageCmdDeletedProc(clientData) ^ ./../generic/tkMessage.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MessageTextVarProc(clientData, interp, name1, name2, flags) ^ 11 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkScale.c In file included from ./../generic/tkScale.c:23: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkScale.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ScaleCmd(clientData, interp, argc, argv) ^ ./../generic/tkScale.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkScale.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyScale(memPtr) ^ ./../generic/tkScale.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureScale(interp, scalePtr, argc, argv, flags) ^ ./../generic/tkScale.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleWorldChanged(instanceData) ^ ./../generic/tkScale.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeFormat(scalePtr) ^ ./../generic/tkScale.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeScaleGeometry(scalePtr) ^ ./../generic/tkScale.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleEventProc(clientData, eventPtr) ^ ./../generic/tkScale.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleCmdDeletedProc(clientData) ^ ./../generic/tkScale.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkEventuallyRedrawScale(scalePtr, what) ^ ./../generic/tkScale.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkRoundToResolution(scalePtr, value) ^ ./../generic/tkScale.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkRoundToValueResolution(scalePtr, value) ^ ./../generic/tkScale.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleVarProc(clientData, interp, name1, name2, flags) ^ 14 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkScrollbar.c In file included from ./../generic/tkScrollbar.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkScrollbar.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ScrollbarCmd(clientData, interp, argc, argv) ^ ./../generic/tkScrollbar.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollbarWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkScrollbar.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureScrollbar(interp, scrollPtr, argc, argv, flags) ^ ./../generic/tkScrollbar.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkScrollbarEventProc(clientData, eventPtr) ^ ./../generic/tkScrollbar.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollbarCmdDeletedProc(clientData) ^ ./../generic/tkScrollbar.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkScrollbarEventuallyRedraw(scrollPtr) ^ 7 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvas.c In file included from ./../generic/tkCanvas.c:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvas.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasCmd(clientData, interp, argc, argv) ^ ./../generic/tkCanvas.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkCanvas.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyCanvas(memPtr) ^ ./../generic/tkCanvas.c:1515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureCanvas(interp, canvasPtr, argc, argv, flags) ^ ./../generic/tkCanvas.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasWorldChanged(instanceData) ^ ./../generic/tkCanvas.c:1686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayCanvas(clientData) ^ ./../generic/tkCanvas.c:1896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasEventProc(clientData, eventPtr) ^ ./../generic/tkCanvas.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasCmdDeletedProc(clientData) ^ ./../generic/tkCanvas.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasEventuallyRedraw(canvas, x1, y1, x2, y2) ^ ./../generic/tkCanvas.c:2081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateItemType(typePtr) ^ ./../generic/tkCanvas.c:2202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartTagSearch(canvasPtr, tag, searchPtr) ^ ./../generic/tkCanvas.c:2311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NextItem(searchPtr) ^ ./../generic/tkCanvas.c:2399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoItem(interp, itemPtr, tag) ^ ./../generic/tkCanvas.c:2481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindItems(interp, canvasPtr, argc, argv, newTag, cmdName, option) ^ ./../generic/tkCanvas.c:2725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindArea(interp, canvasPtr, argv, uid, enclosed) ^ ./../generic/tkCanvas.c:2811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RelinkItems(canvasPtr, tag, prevPtr) ^ ./../generic/tkCanvas.c:2898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasBindProc(clientData, eventPtr) ^ ./../generic/tkCanvas.c:3011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PickCurrentItem(canvasPtr, eventPtr) ^ ./../generic/tkCanvas.c:3199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasFindClosest(canvasPtr, coords) ^ ./../generic/tkCanvas.c:3249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasDoEvent(canvasPtr, eventPtr) ^ ./../generic/tkCanvas.c:3327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasBlinkProc(clientData) ^ ./../generic/tkCanvas.c:3374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasFocusProc(canvasPtr, gotFocus) ^ ./../generic/tkCanvas.c:3427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasSelectTo(canvasPtr, itemPtr, index) ^ ./../generic/tkCanvas.c:3497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasFetchSelection(clientData, offset, buffer, maxBytes) ^ ./../generic/tkCanvas.c:3539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasLostSelection(clientData) ^ ./../generic/tkCanvas.c:3574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GridAlign(coord, spacing) ^ ./../generic/tkCanvas.c:3610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintScrollFractions(screen1, screen2, object1, object2, string) ^ ./../generic/tkCanvas.c:3663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasUpdateScrollbars(canvasPtr) ^ ./../generic/tkCanvas.c:3743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CanvasSetOrigin(canvasPtr, xOrigin, yOrigin) ^ 30 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvArc.c In file included from ./../generic/tkCanvArc.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvArc.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateArc(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvArc.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArcCoords(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvArc.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureArc(interp, canvas, itemPtr, argc, argv, flags) ^ ./../generic/tkCanvArc.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteArc(canvas, itemPtr, display) ^ ./../generic/tkCanvArc.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeArcBbox(canvas, arcPtr) ^ ./../generic/tkCanvArc.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayArc(canvas, itemPtr, display, drawable, x, y, width, height) ^ ./../generic/tkCanvArc.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArcToPoint(canvas, itemPtr, pointPtr) ^ ./../generic/tkCanvArc.c:898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArcToArea(canvas, itemPtr, rectPtr) ^ ./../generic/tkCanvArc.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleArc(canvas, itemPtr, originX, originY, scaleX, scaleY) ^ ./../generic/tkCanvArc.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateArc(canvas, itemPtr, deltaX, deltaY) ^ ./../generic/tkCanvArc.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeArcOutline(arcPtr) ^ ./../generic/tkCanvArc.c:1413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HorizLineToArc(x1, x2, y, rx, ry, start, extent) ^ ./../generic/tkCanvArc.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VertLineToArc(x, y1, y2, rx, ry, start, extent) ^ ./../generic/tkCanvArc.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AngleInRange(x, y, start, extent) ^ ./../generic/tkCanvArc.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArcToPostscript(interp, canvas, itemPtr, prepass) ^ 16 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvBmap.c In file included from ./../generic/tkCanvBmap.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvBmap.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateBitmap(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvBmap.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BitmapCoords(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvBmap.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureBitmap(interp, canvas, itemPtr, argc, argv, flags) ^ ./../generic/tkCanvBmap.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteBitmap(canvas, itemPtr, display) ^ ./../generic/tkCanvBmap.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeBitmapBbox(canvas, bmapPtr) ^ ./../generic/tkCanvBmap.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayBitmap(canvas, itemPtr, display, drawable, x, y, width, height) ^ ./../generic/tkCanvBmap.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BitmapToPoint(canvas, itemPtr, coordPtr) ^ ./../generic/tkCanvBmap.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BitmapToArea(canvas, itemPtr, rectPtr) ^ ./../generic/tkCanvBmap.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleBitmap(canvas, itemPtr, originX, originY, scaleX, scaleY) ^ ./../generic/tkCanvBmap.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateBitmap(canvas, itemPtr, deltaX, deltaY) ^ ./../generic/tkCanvBmap.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] BitmapToPostscript(interp, canvas, itemPtr, prepass) ^ 12 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvImg.c In file included from ./../generic/tkCanvImg.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvImg.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateImage(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvImg.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImageCoords(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvImg.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureImage(interp, canvas, itemPtr, argc, argv, flags) ^ ./../generic/tkCanvImg.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteImage(canvas, itemPtr, display) ^ ./../generic/tkCanvImg.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeImageBbox(canvas, imgPtr) ^ ./../generic/tkCanvImg.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayImage(canvas, itemPtr, display, drawable, x, y, width, height) ^ ./../generic/tkCanvImg.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImageToPoint(canvas, itemPtr, coordPtr) ^ ./../generic/tkCanvImg.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImageToArea(canvas, itemPtr, rectPtr) ^ ./../generic/tkCanvImg.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleImage(canvas, itemPtr, originX, originY, scaleX, scaleY) ^ ./../generic/tkCanvImg.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateImage(canvas, itemPtr, deltaX, deltaY) ^ ./../generic/tkCanvImg.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImageChangedProc(clientData, x, y, width, height, imgWidth, imgHeight) ^ 12 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvLine.c In file included from ./../generic/tkCanvLine.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvLine.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateLine(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvLine.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineCoords(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvLine.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureLine(interp, canvas, itemPtr, argc, argv, flags) ^ ./../generic/tkCanvLine.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteLine(canvas, itemPtr, display) ^ ./../generic/tkCanvLine.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeLineBbox(canvas, linePtr) ^ ./../generic/tkCanvLine.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayLine(canvas, itemPtr, display, drawable, x, y, width, height) ^ ./../generic/tkCanvLine.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineToPoint(canvas, itemPtr, pointPtr) ^ ./../generic/tkCanvLine.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineToArea(canvas, itemPtr, rectPtr) ^ ./../generic/tkCanvLine.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleLine(canvas, itemPtr, originX, originY, scaleX, scaleY) ^ ./../generic/tkCanvLine.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateLine(canvas, itemPtr, deltaX, deltaY) ^ ./../generic/tkCanvLine.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseArrowShape(clientData, interp, tkwin, value, recordPtr, offset) ^ ./../generic/tkCanvLine.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintArrowShape(clientData, tkwin, recordPtr, offset, freeProcPtr) ^ ./../generic/tkCanvLine.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureArrows(canvas, linePtr) ^ ./../generic/tkCanvLine.c:1476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LineToPostscript(interp, canvas, itemPtr, prepass) ^ ./../generic/tkCanvLine.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArrowheadPostscript(interp, canvas, linePtr, arrowPtr) ^ 16 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvPoly.c In file included from ./../generic/tkCanvPoly.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvPoly.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreatePolygon(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvPoly.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PolygonCoords(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvPoly.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigurePolygon(interp, canvas, itemPtr, argc, argv, flags) ^ ./../generic/tkCanvPoly.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeletePolygon(canvas, itemPtr, display) ^ ./../generic/tkCanvPoly.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputePolygonBbox(canvas, polyPtr) ^ ./../generic/tkCanvPoly.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkFillPolygon(canvas, coordPtr, numPoints, display, drawable, gc, outlineGC) ^ ./../generic/tkCanvPoly.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayPolygon(canvas, itemPtr, display, drawable, x, y, width, height) ^ ./../generic/tkCanvPoly.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PolygonToPoint(canvas, itemPtr, pointPtr) ^ ./../generic/tkCanvPoly.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PolygonToArea(canvas, itemPtr, rectPtr) ^ ./../generic/tkCanvPoly.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScalePolygon(canvas, itemPtr, originX, originY, scaleX, scaleY) ^ ./../generic/tkCanvPoly.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslatePolygon(canvas, itemPtr, deltaX, deltaY) ^ ./../generic/tkCanvPoly.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PolygonToPostscript(interp, canvas, itemPtr, prepass) ^ 13 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvPs.c In file included from ./../generic/tkCanvPs.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvPs.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkCanvPostscriptCmd(canvasPtr, interp, argc, argv) ^ ./../generic/tkCanvPs.c:938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasPsColor(interp, canvas, colorPtr) ^ ./../generic/tkCanvPs.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasPsFont(interp, canvas, tkfont) ^ ./../generic/tkCanvPs.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasPsBitmap(interp, canvas, bitmap, startX, startY, width, height) ^ ./../generic/tkCanvPs.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasPsStipple(interp, canvas, bitmap) ^ ./../generic/tkCanvPs.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasPsY(canvas, y) ^ ./../generic/tkCanvPs.c:1298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasPsPath(interp, canvas, coordPtr, numPoints) ^ ./../generic/tkCanvPs.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetPostscriptPoints(interp, string, doublePtr) ^ 9 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvText.c In file included from ./../generic/tkCanvText.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvText.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateText(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvText.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextCoords(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvText.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureText(interp, canvas, itemPtr, argc, argv, flags) ^ ./../generic/tkCanvText.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteText(canvas, itemPtr, display) ^ ./../generic/tkCanvText.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeTextBbox(canvas, textPtr) ^ ./../generic/tkCanvText.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayCanvText(canvas, itemPtr, display, drawable, x, y, width, height) ^ ./../generic/tkCanvText.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextInsert(canvas, itemPtr, beforeThis, string) ^ ./../generic/tkCanvText.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextDeleteChars(canvas, itemPtr, first, last) ^ ./../generic/tkCanvText.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextToPoint(canvas, itemPtr, pointPtr) ^ ./../generic/tkCanvText.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextToArea(canvas, itemPtr, rectPtr) ^ ./../generic/tkCanvText.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleText(canvas, itemPtr, originX, originY, scaleX, scaleY) ^ ./../generic/tkCanvText.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateText(canvas, itemPtr, deltaX, deltaY) ^ ./../generic/tkCanvText.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetTextIndex(interp, canvas, itemPtr, string, indexPtr) ^ ./../generic/tkCanvText.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetTextCursor(canvas, itemPtr, index) ^ ./../generic/tkCanvText.c:1193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetSelText(canvas, itemPtr, offset, buffer, maxBytes) ^ ./../generic/tkCanvText.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextToPostscript(interp, canvas, itemPtr, prepass) ^ 17 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvUtil.c In file included from ./../generic/tkCanvUtil.c:16: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvUtil.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasTkwin(canvas) ^ ./../generic/tkCanvUtil.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasDrawableCoords(canvas, x, y, drawableXPtr, drawableYPtr) ^ ./../generic/tkCanvUtil.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasWindowCoords(canvas, x, y, screenXPtr, screenYPtr) ^ ./../generic/tkCanvUtil.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasGetCoord(interp, canvas, string, doublePtr) ^ ./../generic/tkCanvUtil.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasSetStippleOrigin(canvas, gc) ^ ./../generic/tkCanvUtil.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasGetTextInfo(canvas) ^ ./../generic/tkCanvUtil.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasTagsParseProc(clientData, interp, tkwin, value, widgRec, offset) ^ ./../generic/tkCanvUtil.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CanvasTagsPrintProc(clientData, tkwin, widgRec, offset, freeProcPtr) ^ 9 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvWind.c In file included from ./../generic/tkCanvWind.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkCanvWind.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateWinItem(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvWind.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinItemCoords(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkCanvWind.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureWinItem(interp, canvas, itemPtr, argc, argv, flags) ^ ./../generic/tkCanvWind.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteWinItem(canvas, itemPtr, display) ^ ./../generic/tkCanvWind.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeWindowBbox(canvas, winItemPtr) ^ ./../generic/tkCanvWind.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayWinItem(canvas, itemPtr, display, drawable, regionX, regionY, ^ ./../generic/tkCanvWind.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinItemToPoint(canvas, itemPtr, pointPtr) ^ ./../generic/tkCanvWind.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinItemToArea(canvas, itemPtr, rectPtr) ^ ./../generic/tkCanvWind.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleWinItem(canvas, itemPtr, originX, originY, scaleX, scaleY) ^ ./../generic/tkCanvWind.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateWinItem(canvas, itemPtr, deltaX, deltaY) ^ ./../generic/tkCanvWind.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinItemStructureProc(clientData, eventPtr) ^ ./../generic/tkCanvWind.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinItemRequestProc(clientData, tkwin) ^ ./../generic/tkCanvWind.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WinItemLostSlaveProc(clientData, tkwin) ^ 14 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkRectOval.c In file included from ./../generic/tkRectOval.c:17: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkRectOval.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CreateRectOval(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkRectOval.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RectOvalCoords(interp, canvas, itemPtr, argc, argv) ^ ./../generic/tkRectOval.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureRectOval(interp, canvas, itemPtr, argc, argv, flags) ^ ./../generic/tkRectOval.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteRectOval(canvas, itemPtr, display) ^ ./../generic/tkRectOval.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeRectOvalBbox(canvas, rectOvalPtr) ^ ./../generic/tkRectOval.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayRectOval(canvas, itemPtr, display, drawable, x, y, width, height) ^ ./../generic/tkRectOval.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RectToPoint(canvas, itemPtr, pointPtr) ^ ./../generic/tkRectOval.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OvalToPoint(canvas, itemPtr, pointPtr) ^ ./../generic/tkRectOval.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RectToArea(canvas, itemPtr, areaPtr) ^ ./../generic/tkRectOval.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] OvalToArea(canvas, itemPtr, areaPtr) ^ ./../generic/tkRectOval.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScaleRectOval(canvas, itemPtr, originX, originY, scaleX, scaleY) ^ ./../generic/tkRectOval.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TranslateRectOval(canvas, itemPtr, deltaX, deltaY) ^ ./../generic/tkRectOval.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RectOvalToPostscript(interp, canvas, itemPtr, prepass) ^ 14 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTrig.c In file included from ./../generic/tkTrig.c:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkTrig.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkLineToPoint(end1Ptr, end2Ptr, pointPtr) ^ ./../generic/tkTrig.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkLineToArea(end1Ptr, end2Ptr, rectPtr) ^ ./../generic/tkTrig.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkThickPolyLineToArea(coordPtr, numPoints, width, capStyle, joinStyle, rectPtr) ^ ./../generic/tkTrig.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkPolygonToPoint(polyPtr, numPoints, pointPtr) ^ ./../generic/tkTrig.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkPolygonToArea(polyPtr, numPoints, rectPtr) ^ ./../generic/tkTrig.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkOvalToPoint(ovalPtr, width, filled, pointPtr) ^ ./../generic/tkTrig.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkOvalToArea(ovalPtr, rectPtr) ^ ./../generic/tkTrig.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkIncludePoint(itemPtr, pointPtr) ^ ./../generic/tkTrig.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBezierScreenPoints(canvas, control, numSteps, xPointPtr) ^ ./../generic/tkTrig.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBezierPoints(control, numSteps, coordPtr) ^ ./../generic/tkTrig.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMakeBezierCurve(canvas, pointPtr, numPoints, numSteps, xPoints, dblPoints) ^ ./../generic/tkTrig.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkMakeBezierPostscript(interp, canvas, pointPtr, numPoints) ^ ./../generic/tkTrig.c:1309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetMiterPoints(p1, p2, p3, width, m1, m2) ^ ./../generic/tkTrig.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetButtPoints(p1, p2, width, project, m1, m2) ^ 15 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImage.c In file included from ./../generic/tkImage.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkImage.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreateImageType(typePtr) ^ ./../generic/tkImage.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ImageCmd(clientData, interp, argc, argv) ^ ./../generic/tkImage.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_ImageChanged(imageMaster, x, y, width, height, imageWidth, ^ ./../generic/tkImage.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_NameOfImage(imageMaster) ^ ./../generic/tkImage.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetImage(interp, tkwin, name, changeProc, clientData) ^ ./../generic/tkImage.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FreeImage(image) ^ ./../generic/tkImage.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_RedrawImage(image, imageX, imageY, width, height, drawable, ^ ./../generic/tkImage.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_SizeOfImage(image, widthPtr, heightPtr) ^ ./../generic/tkImage.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_DeleteImage(interp, name) ^ ./../generic/tkImage.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteImage(masterPtr) ^ ./../generic/tkImage.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkDeleteAllImages(mainPtr) ^ ./../generic/tkImage.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_GetImageMasterData(interp, name, typePtrPtr) ^ 13 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgBmap.c In file included from ./../generic/tkImgBmap.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkImgBmap.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgBmapCreate(interp, name, argc, argv, typePtr, master, clientDataPtr) ^ ./../generic/tkImgBmap.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgBmapConfigureMaster(masterPtr, argc, argv, flags) ^ ./../generic/tkImgBmap.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgBmapConfigureInstance(instancePtr) ^ ./../generic/tkImgBmap.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkGetBitmapData(interp, string, fileName, widthPtr, heightPtr, ^ ./../generic/tkImgBmap.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NextBitmapWord(parseInfoPtr) ^ ./../generic/tkImgBmap.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgBmapCmd(clientData, interp, argc, argv) ^ ./../generic/tkImgBmap.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgBmapGet(tkwin, masterData) ^ ./../generic/tkImgBmap.c:861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgBmapDisplay(clientData, display, drawable, imageX, imageY, width, ^ ./../generic/tkImgBmap.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgBmapFree(clientData, display) ^ ./../generic/tkImgBmap.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgBmapDelete(masterData) ^ ./../generic/tkImgBmap.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgBmapCmdDeletedProc(clientData) ^ ./../generic/tkImgBmap.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetByte(chan) ^ 13 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgGIF.c In file included from ./../generic/tkImgGIF.c:60: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkImgGIF.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileMatchGIF(chan, fileName, formatString, widthPtr, heightPtr) ^ ./../generic/tkImgGIF.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileReadGIF(interp, chan, fileName, formatString, imageHandle, destX, destY, ^ ./../generic/tkImgGIF.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringMatchGIF(string, formatString, widthPtr, heightPtr) ^ ./../generic/tkImgGIF.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringReadGIF(interp,string,formatString,imageHandle, ^ ./../generic/tkImgGIF.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadGIFHeader(chan, widthPtr, heightPtr) ^ ./../generic/tkImgGIF.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadColorMap(chan, number, buffer) ^ ./../generic/tkImgGIF.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoExtension(chan, label, transparent) ^ ./../generic/tkImgGIF.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetDataBlock(chan, buf) ^ ./../generic/tkImgGIF.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadImage(interp, imagePtr, chan, len, rows, cmap, ^ ./../generic/tkImgGIF.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LWZReadByte(chan, flag, input_code_size) ^ ./../generic/tkImgGIF.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetCode(chan, code_size, flag) ^ ./../generic/tkImgGIF.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mInit(string, handle) ^ ./../generic/tkImgGIF.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mread(dst, chunkSize, numChunks, handle) ^ ./../generic/tkImgGIF.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mgetc(handle) ^ ./../generic/tkImgGIF.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char64(c) ^ ./../generic/tkImgGIF.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fread(dst, hunk, count, chan) ^ 17 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgPPM.c In file included from ./../generic/tkImgPPM.c:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkImgPPM.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileMatchPPM(chan, fileName, formatString, widthPtr, heightPtr) ^ ./../generic/tkImgPPM.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileReadPPM(interp, chan, fileName, formatString, imageHandle, destX, destY, ^ ./../generic/tkImgPPM.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileWritePPM(interp, fileName, formatString, blockPtr) ^ ./../generic/tkImgPPM.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadPPMFileHeader(chan, widthPtr, heightPtr, maxIntensityPtr) ^ 5 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgPhoto.c In file included from ./../generic/tkImgPhoto.c:21: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkImgPhoto.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_CreatePhotoImageFormat(formatPtr) ^ ./../generic/tkImgPhoto.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoCreate(interp, name, argc, argv, typePtr, master, clientDataPtr) ^ ./../generic/tkImgPhoto.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoCmd(clientData, interp, argc, argv) ^ ./../generic/tkImgPhoto.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ParseSubcommandOptions(optPtr, interp, allowedOptions, optIndexPtr, argc, argv) ^ ./../generic/tkImgPhoto.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoConfigureMaster(interp, masterPtr, argc, argv, flags) ^ ./../generic/tkImgPhoto.c:1462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoConfigureInstance(instancePtr) ^ ./../generic/tkImgPhoto.c:1602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoGet(tkwin, masterData) ^ ./../generic/tkImgPhoto.c:1803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoDisplay(clientData, display, drawable, imageX, imageY, width, ^ ./../generic/tkImgPhoto.c:1863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoFree(clientData, display) ^ ./../generic/tkImgPhoto.c:1909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoDelete(masterData) ^ ./../generic/tkImgPhoto.c:1955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoCmdDeletedProc(clientData) ^ ./../generic/tkImgPhoto.c:1986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoSetSize(masterPtr, width, height) ^ ./../generic/tkImgPhoto.c:2148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgPhotoInstanceSetSize(instancePtr) ^ ./../generic/tkImgPhoto.c:2282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsValidPalette(instancePtr, palette) ^ ./../generic/tkImgPhoto.c:2369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CountBits(mask) ^ ./../generic/tkImgPhoto.c:2404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetColorTable(instancePtr) ^ ./../generic/tkImgPhoto.c:2501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeColorTable(colorPtr) ^ ./../generic/tkImgPhoto.c:2535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AllocateColors(colorPtr) ^ ./../generic/tkImgPhoto.c:2816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisposeColorTable(clientData) ^ ./../generic/tkImgPhoto.c:2864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReclaimColors(id, numColors) ^ ./../generic/tkImgPhoto.c:2955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisposeInstance(clientData) ^ ./../generic/tkImgPhoto.c:3014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchFileFormat(interp, chan, fileName, formatString, imageFormatPtr, ^ ./../generic/tkImgPhoto.c:3105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MatchStringFormat(interp, string, formatString, imageFormatPtr, ^ ./../generic/tkImgPhoto.c:3182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_FindPhoto(interp, imageName) ^ ./../generic/tkImgPhoto.c:3214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PhotoPutBlock(handle, blockPtr, x, y, width, height) ^ ./../generic/tkImgPhoto.c:3357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PhotoPutZoomedBlock(handle, blockPtr, x, y, width, height, zoomX, zoomY, ^ ./../generic/tkImgPhoto.c:3544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Dither(masterPtr, x, y, width, height) ^ ./../generic/tkImgPhoto.c:3622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DitherInstance(instancePtr, xStart, yStart, width, height) ^ ./../generic/tkImgPhoto.c:3962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PhotoBlank(handle) ^ ./../generic/tkImgPhoto.c:4027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PhotoExpand(handle, width, height) ^ ./../generic/tkImgPhoto.c:4068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PhotoGetSize(handle, widthPtr, heightPtr) ^ ./../generic/tkImgPhoto.c:4101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PhotoSetSize(handle, width, height) ^ ./../generic/tkImgPhoto.c:4139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_PhotoGetImage(handle, blockPtr) ^ 34 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkText.c In file included from ./../generic/tkText.c:20: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkText.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_TextCmd(clientData, interp, argc, argv) ^ ./../generic/tkText.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextWidgetCmd(clientData, interp, argc, argv) ^ ./../generic/tkText.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyText(memPtr) ^ ./../generic/tkText.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ConfigureText(interp, textPtr, argc, argv, flags) ^ ./../generic/tkText.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextWorldChanged(instanceData) ^ ./../generic/tkText.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextEventProc(clientData, eventPtr) ^ ./../generic/tkText.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextCmdDeletedProc(clientData) ^ ./../generic/tkText.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertChars(textPtr, indexPtr, string) ^ ./../generic/tkText.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteChars(textPtr, index1String, index2String) ^ ./../generic/tkText.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextFetchSelection(clientData, offset, buffer, maxBytes) ^ ./../generic/tkText.c:1500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextLostSelection(clientData) ^ ./../generic/tkText.c:1544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextBlinkProc(clientData) ^ ./../generic/tkText.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextSearchCmd(textPtr, interp, argc, argv) ^ ./../generic/tkText.c:1997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextGetTabs(interp, tkwin, string) ^ ./../generic/tkText.c:2103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextDumpCmd(textPtr, interp, argc, argv) ^ ./../generic/tkText.c:2234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DumpLine(interp, textPtr, what, linePtr, start, end, lineno, command) ^ ./../generic/tkText.c:2322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DumpSegment(interp, key, value, command, lineno, offset, what) ^ 18 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextBTree.c In file included from ./../generic/tkTextBTree.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkTextBTree.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeCreate(textPtr) ^ ./../generic/tkTextBTree.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeDestroy(tree) ^ ./../generic/tkTextBTree.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DestroyNode(nodePtr) ^ ./../generic/tkTextBTree.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DeleteSummaries(summaryPtr) ^ ./../generic/tkTextBTree.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeInsertChars(indexPtr, string) ^ ./../generic/tkTextBTree.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SplitSeg(indexPtr) ^ ./../generic/tkTextBTree.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CleanupLine(linePtr) ^ ./../generic/tkTextBTree.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeDeleteChars(index1Ptr, index2Ptr) ^ ./../generic/tkTextBTree.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeFindLine(tree, line) ^ ./../generic/tkTextBTree.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeNextLine(linePtr) ^ ./../generic/tkTextBTree.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreePreviousLine(linePtr) ^ ./../generic/tkTextBTree.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeLineIndex(linePtr) ^ ./../generic/tkTextBTree.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeLinkSegment(segPtr, indexPtr) ^ ./../generic/tkTextBTree.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeUnlinkSegment(tree, segPtr, linePtr) ^ ./../generic/tkTextBTree.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeTag(index1Ptr, index2Ptr, tagPtr, add) ^ ./../generic/tkTextBTree.c:1298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeNodeToggleCount(nodePtr, tagPtr, delta) ^ ./../generic/tkTextBTree.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindTagStart(tree, tagPtr, indexPtr) ^ ./../generic/tkTextBTree.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindTagEnd(tree, tagPtr, indexPtr) ^ ./../generic/tkTextBTree.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeStartSearch(index1Ptr, index2Ptr, tagPtr, searchPtr) ^ ./../generic/tkTextBTree.c:1747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeStartSearchBack(index1Ptr, index2Ptr, tagPtr, searchPtr) ^ ./../generic/tkTextBTree.c:1854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeNextTag(searchPtr) ^ ./../generic/tkTextBTree.c:2016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreePrevTag(searchPtr) ^ ./../generic/tkTextBTree.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeCharTagged(indexPtr, tagPtr) ^ ./../generic/tkTextBTree.c:2337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeGetTags(indexPtr, numTagsPtr) ^ ./../generic/tkTextBTree.c:2451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IncCount(tagPtr, inc, tagInfoPtr) ^ ./../generic/tkTextBTree.c:2517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeCheck(tree) ^ ./../generic/tkTextBTree.c:2659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CheckNodeConsistency(nodePtr) ^ ./../generic/tkTextBTree.c:2820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Rebalance(treePtr, nodePtr) ^ ./../generic/tkTextBTree.c:3049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] RecomputeNodeCounts(nodePtr) ^ ./../generic/tkTextBTree.c:3196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeNumLines(tree) ^ ./../generic/tkTextBTree.c:3222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharSplitProc(segPtr, index) ^ ./../generic/tkTextBTree.c:3265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharCleanupProc(segPtr, linePtr) ^ ./../generic/tkTextBTree.c:3307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharDeleteProc(segPtr, linePtr, treeGone) ^ ./../generic/tkTextBTree.c:3338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharCheckProc(segPtr, linePtr) ^ ./../generic/tkTextBTree.c:3387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleDeleteProc(segPtr, linePtr, treeGone) ^ ./../generic/tkTextBTree.c:3439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleCleanupProc(segPtr, linePtr) ^ ./../generic/tkTextBTree.c:3503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleLineChangeProc(segPtr, linePtr) ^ ./../generic/tkTextBTree.c:3532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ToggleCheckProc(segPtr, linePtr) ^ ./../generic/tkTextBTree.c:3582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkBTreeCharsInLine(linePtr) ^ 40 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextDisp.c In file included from ./../generic/tkTextDisp.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkTextDisp.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextCreateDInfo(textPtr) ^ ./../generic/tkTextDisp.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextFreeDInfo(textPtr) ^ ./../generic/tkTextDisp.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetStyle(textPtr, indexPtr) ^ ./../generic/tkTextDisp.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeStyle(textPtr, stylePtr) ^ ./../generic/tkTextDisp.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LayoutDLine(textPtr, indexPtr) ^ ./../generic/tkTextDisp.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UpdateDisplayInfo(textPtr) ^ ./../generic/tkTextDisp.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeDLines(textPtr, firstPtr, lastPtr, unlink) ^ ./../generic/tkTextDisp.c:1543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayDLine(textPtr, dlPtr, prevPtr, pixmap) ^ ./../generic/tkTextDisp.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayLineBackground(textPtr, dlPtr, prevPtr, pixmap) ^ ./../generic/tkTextDisp.c:2023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DisplayText(clientData) ^ ./../generic/tkTextDisp.c:2410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextEventuallyRepick(textPtr) ^ ./../generic/tkTextDisp.c:2442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextRedrawRegion(textPtr, x, y, width, height) ^ ./../generic/tkTextDisp.c:2485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TextInvalidateRegion(textPtr, region) ^ ./../generic/tkTextDisp.c:2551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextChanged(textPtr, index1Ptr, index2Ptr) ^ ./../generic/tkTextDisp.c:2631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextRedrawTag(textPtr, index1Ptr, index2Ptr, tagPtr, withTag) ^ ./../generic/tkTextDisp.c:2792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextRelayoutWindow(textPtr) ^ ./../generic/tkTextDisp.c:2893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextSetYView(textPtr, indexPtr, pickPlace) ^ ./../generic/tkTextDisp.c:3043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MeasureUp(textPtr, srcPtr, distance, dstPtr) ^ ./../generic/tkTextDisp.c:3140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextSeeCmd(textPtr, interp, argc, argv) ^ ./../generic/tkTextDisp.c:3261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextXviewCmd(textPtr, interp, argc, argv) ^ ./../generic/tkTextDisp.c:3338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScrollByLines(textPtr, offset) ^ ./../generic/tkTextDisp.c:3448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextYviewCmd(textPtr, interp, argc, argv) ^ ./../generic/tkTextDisp.c:3614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextScanCmd(textPtr, interp, argc, argv) ^ ./../generic/tkTextDisp.c:3723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetXView(interp, textPtr, report) ^ ./../generic/tkTextDisp.c:3793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetYView(interp, textPtr, report) ^ ./../generic/tkTextDisp.c:3872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindDLine(dlPtr, indexPtr) ^ ./../generic/tkTextDisp.c:3943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextPixelIndex(textPtr, x, y, indexPtr) ^ ./../generic/tkTextDisp.c:4047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextCharBbox(textPtr, indexPtr, xPtr, yPtr, widthPtr, heightPtr) ^ ./../generic/tkTextDisp.c:4156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextDLineInfo(textPtr, indexPtr, xPtr, yPtr, widthPtr, heightPtr, basePtr) ^ ./../generic/tkTextDisp.c:4222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextCharLayoutProc(textPtr, indexPtr, segPtr, offset, maxX, maxChars, ^ ./../generic/tkTextDisp.c:4372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharDisplayProc(chunkPtr, x, y, height, baseline, display, dst, screenY) ^ ./../generic/tkTextDisp.c:4471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharUndisplayProc(textPtr, chunkPtr) ^ ./../generic/tkTextDisp.c:4500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharMeasureProc(chunkPtr, x) ^ ./../generic/tkTextDisp.c:4536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CharBboxProc(chunkPtr, index, y, lineHeight, baseline, xPtr, yPtr, ^ ./../generic/tkTextDisp.c:4612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AdjustForTab(textPtr, tabArrayPtr, index, chunkPtr) ^ ./../generic/tkTextDisp.c:4794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SizeOfTab(textPtr, tabArrayPtr, index, x, maxX) ^ ./../generic/tkTextDisp.c:4893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NextTabStop(tkfont, x, tabOrigin) ^ ./../generic/tkTextDisp.c:4949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MeasureChars(tkfont, source, maxChars, startX, maxX, tabOrigin, nextXPtr) ^ 39 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextImage.c In file included from ./../generic/tkTextImage.c:16: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkTextImage.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextImageCmd(textPtr, interp, argc, argv) ^ ./../generic/tkTextImage.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbImageConfigure(textPtr, eiPtr, argc, argv) ^ ./../generic/tkTextImage.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AlignParseProc(clientData, interp, tkwin, value, widgRec, offset) ^ ./../generic/tkTextImage.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AlignPrintProc(clientData, tkwin, widgRec, offset, freeProcPtr) ^ ./../generic/tkTextImage.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbImageDeleteProc(eiPtr, linePtr, treeGone) ^ ./../generic/tkTextImage.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbImageCleanupProc(eiPtr, linePtr) ^ ./../generic/tkTextImage.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbImageLayoutProc(textPtr, indexPtr, eiPtr, offset, maxX, maxChars, ^ ./../generic/tkTextImage.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbImageCheckProc(eiPtr, linePtr) ^ ./../generic/tkTextImage.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbImageDisplayProc(chunkPtr, x, y, lineHeight, baseline, display, dst, screenY) ^ ./../generic/tkTextImage.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbImageBboxProc(chunkPtr, index, y, lineHeight, baseline, xPtr, yPtr, ^ ./../generic/tkTextImage.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextImageIndex(textPtr, name, indexPtr) ^ ./../generic/tkTextImage.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbImageProc(clientData, x, y, width, height, imgWidth, imgHeight) ^ 13 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextIndex.c In file included from ./../generic/tkTextIndex.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkTextIndex.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextMakeIndex(tree, lineIndex, charIndex, indexPtr) ^ ./../generic/tkTextIndex.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextIndexToSeg(indexPtr, offsetPtr) ^ ./../generic/tkTextIndex.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextSegToOffset(segPtr, linePtr) ^ ./../generic/tkTextIndex.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextGetIndex(interp, textPtr, string, indexPtr) ^ ./../generic/tkTextIndex.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextPrintIndex(indexPtr, string) ^ ./../generic/tkTextIndex.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextIndexCmp(index1Ptr, index2Ptr) ^ ./../generic/tkTextIndex.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ForwBack(string, indexPtr) ^ ./../generic/tkTextIndex.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextIndexForwChars(srcPtr, count, dstPtr) ^ ./../generic/tkTextIndex.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextIndexBackChars(srcPtr, count, dstPtr) ^ ./../generic/tkTextIndex.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StartEnd(string, indexPtr) ^ 11 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextMark.c In file included from ./../generic/tkTextMark.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkTextMark.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextMarkCmd(textPtr, interp, argc, argv) ^ ./../generic/tkTextMark.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextSetMark(textPtr, name, indexPtr) ^ ./../generic/tkTextMark.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextMarkSegToIndex(textPtr, markPtr, indexPtr) ^ ./../generic/tkTextMark.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextMarkNameToIndex(textPtr, name, indexPtr) ^ ./../generic/tkTextMark.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkDeleteProc(segPtr, linePtr, treeGone) ^ ./../generic/tkTextMark.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkCleanupProc(markPtr, linePtr) ^ ./../generic/tkTextMark.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkLayoutProc(textPtr, indexPtr, segPtr, offset, maxX, maxChars, ^ ./../generic/tkTextMark.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextInsertDisplayProc(chunkPtr, x, y, height, baseline, display, dst, screenY) ^ ./../generic/tkTextMark.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] InsertUndisplayProc(textPtr, chunkPtr) ^ ./../generic/tkTextMark.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkCheckProc(markPtr, linePtr) ^ ./../generic/tkTextMark.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkFindNext(interp, textPtr, string) ^ ./../generic/tkTextMark.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MarkFindPrev(interp, textPtr, string) ^ 13 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextTag.c In file included from ./../generic/tkTextTag.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkTextTag.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextTagCmd(textPtr, interp, argc, argv) ^ ./../generic/tkTextTag.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextCreateTag(textPtr, tagName) ^ ./../generic/tkTextTag.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FindTag(interp, textPtr, tagName) ^ ./../generic/tkTextTag.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextFreeTag(textPtr, tagPtr) ^ ./../generic/tkTextTag.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SortTags(numTags, tagArrayPtr) ^ ./../generic/tkTextTag.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TagSortProc(first, second) ^ ./../generic/tkTextTag.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ChangeTagPriority(textPtr, tagPtr, prio) ^ ./../generic/tkTextTag.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextBindProc(clientData, eventPtr) ^ ./../generic/tkTextTag.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextPickCurrent(textPtr, eventPtr) ^ 10 warnings generated. cc -c -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextWind.c In file included from ./../generic/tkTextWind.c:17: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE ./../generic/tkTextWind.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextWindowCmd(textPtr, interp, argc, argv) ^ ./../generic/tkTextWind.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinConfigure(textPtr, ewPtr, argc, argv) ^ ./../generic/tkTextWind.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AlignParseProc(clientData, interp, tkwin, value, widgRec, offset) ^ ./../generic/tkTextWind.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AlignPrintProc(clientData, tkwin, widgRec, offset, freeProcPtr) ^ ./../generic/tkTextWind.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinStructureProc(clientData, eventPtr) ^ ./../generic/tkTextWind.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinRequestProc(clientData, tkwin) ^ ./../generic/tkTextWind.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinLostSlaveProc(clientData, tkwin) ^ ./../generic/tkTextWind.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinDeleteProc(ewPtr, linePtr, treeGone) ^ ./../generic/tkTextWind.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinCleanupProc(ewPtr, linePtr) ^ ./../generic/tkTextWind.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinLayoutProc(textPtr, indexPtr, ewPtr, offset, maxX, maxChars, ^ ./../generic/tkTextWind.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinCheckProc(ewPtr, linePtr) ^ ./../generic/tkTextWind.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinDisplayProc(chunkPtr, x, y, lineHeight, baseline, display, dst, screenY) ^ ./../generic/tkTextWind.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinUndisplayProc(textPtr, chunkPtr) ^ ./../generic/tkTextWind.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinBboxProc(chunkPtr, index, y, lineHeight, baseline, xPtr, yPtr, ^ ./../generic/tkTextWind.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinDelayedUnmap(clientData) ^ ./../generic/tkTextWind.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TkTextWindowIndex(textPtr, name, indexPtr) ^ 17 warnings generated. rm -f libtk.a ar cr libtk.a tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkCursor.o tkError.o tkEvent.o tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o tkOption.o tkPack.o tkPlace.o tkSelect.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixCursor.o tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o tkUnixInit.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o ranlib libtk.a make Snow cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c userinit.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c stk.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c slib.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c primitives.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c boolean.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c char.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c str.c str.c:188:38: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if ((from=STk_integer_value(start))==LONG_MIN) Err(msg ,start); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~ str.c:189:35: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if ((to=STk_integer_value(end)) == LONG_MIN) Err(msg ,end); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~ 2 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c vector.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c gc.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c port.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c number.c number.c:397:9: warning: implicit conversion from 'long' to 'double' changes value from 36028797018963967 to 36028797018963968 [-Wimplicit-const-int-float-conversion] if (SMALLNUMP(prod=(double) INTEGER(*x) * INTEGER(y))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ number.c:41:34: note: expanded from macro 'SMALLNUMP' #define SMALLNUMP(x) (fabs(x) <= SMALLINT_MAX) ~~ ^~~~~~~~~~~~ ./stk.h:988:33: note: expanded from macro 'SMALLINT_MAX' # define SMALLINT_MAX (LONG_MAX>>8) ~~~~~~~~^~~ number.c:459:9: warning: implicit conversion from 'long' to 'double' changes value from 36028797018963967 to 36028797018963968 [-Wimplicit-const-int-float-conversion] if (SMALLNUMP(add)) ^~~~~~~~~~~~~~ number.c:41:34: note: expanded from macro 'SMALLNUMP' #define SMALLNUMP(x) (fabs(x) <= SMALLINT_MAX) ~~ ^~~~~~~~~~~~ ./stk.h:988:33: note: expanded from macro 'SMALLINT_MAX' # define SMALLINT_MAX (LONG_MAX>>8) ~~~~~~~~^~~ number.c:516:9: warning: implicit conversion from 'long' to 'double' changes value from 36028797018963967 to 36028797018963968 [-Wimplicit-const-int-float-conversion] if (SMALLNUMP(add)) ^~~~~~~~~~~~~~ number.c:41:34: note: expanded from macro 'SMALLNUMP' #define SMALLNUMP(x) (fabs(x) <= SMALLINT_MAX) ~~ ^~~~~~~~~~~~ ./stk.h:988:33: note: expanded from macro 'SMALLINT_MAX' # define SMALLINT_MAX (LONG_MAX>>8) ~~~~~~~~^~~ number.c:650:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else Err("bad number in an integer division", x); ^ number.c:654:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else Err("bad number in an integer division", y); ^ 5 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c list.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c symbol.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c read.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c print.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c eval.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c env.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c macros.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c syntax.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c cont.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c io.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c sport.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c promise.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c error.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c proc.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c keyword.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c dump.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c address.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c dynload.c dynload.c:664:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dynload.c:670:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dynload.c:676:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 3 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c unix.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c toplevel.c toplevel.c:58:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] Fprintf(STk_curr_eport, "Copyright 1993-1999 Erick Gallesio - "); ^~~~ 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c argv.c argv.c:153:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ argv.c:256:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(f, "%d %s\n", strlen(*argv), *argv); ~~ ^~~~~~~~~~~~~ %lu argv.c:261:22: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(f, "%d\n", env-environ); ~~ ^~~~~~~~~~~ %ld argv.c:264:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(f, "%d %s\n", strlen(*env), *env); ~~ ^~~~~~~~~~~~ %lu 4 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c extend.c extend.c:100:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); ^ ~~~~~~~~~~~~~ extend.c:100:36: note: use '&' for a bitwise operation return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); ^~ & extend.c:100:36: note: remove constant to silence this warning return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); ~^~~~~~~~~~~~~~~~ extend.c:172:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static C_hash_table_initialized = 0; ~~~~~~ ^ int extend.c:187:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (*(p->getter))(var); ^ extend.c:202:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(p->setter))(var, value); ^ 4 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c signal.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c trace.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c module.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c dummy.c dummy.c:40:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Tcl_SetVar2(interp, name1, name2, val, flags) ^ dummy.c:46:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 2 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c stklos.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c vport.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c console.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tcl-lib.c tcl-lib.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_IsSafe(interp) ^ tcl-lib.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_HideCommand(interp, cmdName, hiddenCmdName) ^ tcl-lib.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_WrongNumArgs(interp, objc, objv, message) ^ 3 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tcl-util.c In file included from tcl-util.c:38: In file included from ../Tcl/tclPort.h:30: ../Tcl/tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ tcl-util.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_PosixError(interp) ^ tcl-util.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Backslash(src, readPtr) ^ tcl-util.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_TildeSubst(interp, name, bufferPtr) ^ ../Tcl/tcl.h:1556:24: note: expanded from macro 'Tcl_TildeSubst' #define Tcl_TildeSubst Tcl_TranslateFileName ^ tcl-util.c:268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Tcl_ExprDouble(interp, string, ptr) ^ tcl-util.c:287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Tcl_ExprLong(interp, string, ptr) ^ tcl-util.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AllowExceptions(interp) ^ 7 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tcl-glue.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tcl-obj.c tcl-obj.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NewListObj(objc, objv) ^ tcl-obj.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjLength(interp, listPtr, intPtr) ^ tcl-obj.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjAppendElement(interp, listPtr, objPtr) ^ tcl-obj.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjReplace(interp, listPtr, first, count, objc, objv) ^ tcl-obj.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjIndex(interp, listPtr, index, objPtrPtr) ^ tcl-obj.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjGetElements(interp, listPtr, objcPtr, objvPtr) ^ tcl-obj.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NewStringObj(bytes, length) ^ tcl-obj.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AppendToObj(objPtr, bytes, length) ^ tcl-obj.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetStringFromObj(objPtr, lengthPtr) ^ tcl-obj.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetStringObj(objPtr, bytes, length) ^ tcl-obj.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetDoubleObj(objPtr, dblValue) ^ tcl-obj.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetDoubleFromObj(interp, objPtr, dblPtr) ^ tcl-obj.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetLongObj(objPtr, longValue) ^ tcl-obj.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetLongFromObj(interp, objPtr, longPtr) ^ tcl-obj.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NewIntObj(intValue) ^ tcl-obj.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetIntObj(objPtr, intValue) ^ tcl-obj.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetIntFromObj(interp, objPtr, intPtr) ^ tcl-obj.c:559:15: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (*intPtr == LONG_MIN) { ~~~~~~~ ^ ~~~~~~~~ tcl-obj.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetBooleanObj(objPtr, boolValue) ^ tcl-obj.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetBooleanFromObj(interp, objPtr, boolPtr) ^ tcl-obj.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NewBooleanObj(boolValue) ^ tcl-obj.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetIndexFromObj(interp, objPtr, tablePtr, msg, flags, indexPtr) ^ 22 warnings generated. /bin/rm -f libsnow.a ar rc libsnow.a stk.o slib.o primitives.o boolean.o char.o str.o vector.o gc.o port.o number.o list.o symbol.o read.o print.o eval.o env.o macros.o syntax.o cont.o io.o sport.o promise.o error.o proc.o keyword.o dump.o address.o dynload.o unix.o toplevel.o argv.o extend.o signal.o trace.o module.o dummy.o stklos.o vport.o console.o tcl-lib.o tcl-util.o tcl-glue.o tcl-obj.o ranlib libsnow.a /bin/rm -f snow cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -o snow userinit.o libsnow.a ../Mp/libgmp.a ../Stack/libstack.a ../Tcl/libtcl.a -lm ld: warning: toplevel.c(toplevel.o:(repl_driver) in archive libsnow.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: toplevel.c(toplevel.o:(repl_driver) in archive libsnow.a): warning: sprintf() is often misused, please use snprintf() ld: warning: toplevel.c(toplevel.o:(panic_proc) in archive libsnow.a): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: argv.c(argv.o:(STk_process_argc_argv) in archive libsnow.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: unix.c(unix.o:(STk_temporary_file_name) in archive libsnow.a): warning: tmpnam() possibly used unsafely; consider using mkstemp() ld: warning: slib.c(slib.o:(STk_random) in archive libsnow.a): warning: rand() may return deterministic values, is that what you want? make Src cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c userinit.c In file included from userinit.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c stk.c In file included from stk.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c slib.c In file included from slib.c:26: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c primitives.c cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c boolean.c In file included from primitives.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. In file included from boolean.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c char.c In file included from char.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c str.c In file included from str.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE str.c:188:38: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if ((from=STk_integer_value(start))==LONG_MIN) Err(msg ,start); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~ str.c:189:35: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if ((to=STk_integer_value(end)) == LONG_MIN) Err(msg ,end); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~ 3 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c vector.c In file included from vector.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c gc.c In file included from gc.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c port.c In file included from port.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c number.c In file included from number.c:38: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE number.c:397:9: warning: implicit conversion from 'long' to 'double' changes value from 36028797018963967 to 36028797018963968 [-Wimplicit-const-int-float-conversion] if (SMALLNUMP(prod=(double) INTEGER(*x) * INTEGER(y))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ number.c:41:34: note: expanded from macro 'SMALLNUMP' #define SMALLNUMP(x) (fabs(x) <= SMALLINT_MAX) ~~ ^~~~~~~~~~~~ ./stk.h:988:33: note: expanded from macro 'SMALLINT_MAX' # define SMALLINT_MAX (LONG_MAX>>8) ~~~~~~~~^~~ number.c:459:9: warning: implicit conversion from 'long' to 'double' changes value from 36028797018963967 to 36028797018963968 [-Wimplicit-const-int-float-conversion] if (SMALLNUMP(add)) ^~~~~~~~~~~~~~ number.c:41:34: note: expanded from macro 'SMALLNUMP' #define SMALLNUMP(x) (fabs(x) <= SMALLINT_MAX) ~~ ^~~~~~~~~~~~ ./stk.h:988:33: note: expanded from macro 'SMALLINT_MAX' # define SMALLINT_MAX (LONG_MAX>>8) ~~~~~~~~^~~ number.c:516:9: warning: implicit conversion from 'long' to 'double' changes value from 36028797018963967 to 36028797018963968 [-Wimplicit-const-int-float-conversion] if (SMALLNUMP(add)) ^~~~~~~~~~~~~~ number.c:41:34: note: expanded from macro 'SMALLNUMP' #define SMALLNUMP(x) (fabs(x) <= SMALLINT_MAX) ~~ ^~~~~~~~~~~~ ./stk.h:988:33: note: expanded from macro 'SMALLINT_MAX' # define SMALLINT_MAX (LONG_MAX>>8) ~~~~~~~~^~~ number.c:650:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else Err("bad number in an integer division", x); ^ number.c:654:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else Err("bad number in an integer division", y); ^ 6 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c list.c In file included from list.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c symbol.c In file included from symbol.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c read.c In file included from read.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c print.c In file included from print.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c eval.c In file included from eval.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c env.c In file included from env.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c macros.c In file included from macros.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c syntax.c 1 warning generated. In file included from syntax.c:39: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c cont.c In file included from cont.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c io.c In file included from io.c:50: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c sport.c In file included from sport.c:27: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c promise.c In file included from promise.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c error.c In file included from error.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c proc.c In file included from proc.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c keyword.c In file included from keyword.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c dump.c In file included from dump.c:21: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c address.c In file included from address.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c dynload.c In file included from dynload.c:87: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE dynload.c:664:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dynload.c:670:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dynload.c:676:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 4 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c unix.c In file included from unix.c:58: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c toplevel.c In file included from toplevel.c:32: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE toplevel.c:58:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] Fprintf(STk_curr_eport, "Copyright 1993-1999 Erick Gallesio - "); ^~~~ 2 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c argv.c In file included from argv.c:37: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE argv.c:153:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ argv.c:256:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(f, "%d %s\n", strlen(*argv), *argv); ~~ ^~~~~~~~~~~~~ %lu argv.c:261:22: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] fprintf(f, "%d\n", env-environ); ~~ ^~~~~~~~~~~ %ld argv.c:264:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(f, "%d %s\n", strlen(*env), *env); ~~ ^~~~~~~~~~~~ %lu 5 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c extend.c In file included from extend.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE extend.c:100:36: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); ^ ~~~~~~~~~~~~~ extend.c:100:36: note: use '&' for a bitwise operation return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); ^~ & extend.c:100:36: note: remove constant to silence this warning return (EXT_TYPE_DESCR(x)->flags && EXT_EVALPARAM); ~^~~~~~~~~~~~~~~~ extend.c:172:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static C_hash_table_initialized = 0; ~~~~~~ ^ int extend.c:187:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (*(p->getter))(var); ^ extend.c:202:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(p->setter))(var, value); ^ 5 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c signal.c In file included from signal.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c trace.c In file included from trace.c:41: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE trace.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Tcl_TraceVar(interp, var, flags, proc, clientData) ^ trace.c:251:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Tcl_TraceVar2(interp, name1, name2, flags, proc, clientData) ^ trace.c:258:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Tcl_UntraceVar(interp, var, flags, proc, clientData) ^ trace.c:265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Tcl_UntraceVar2(interp, name1, name2, flags, proc, clientData) ^ 5 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c module.c In file included from module.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c dummy.c In file included from dummy.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c stklos.c In file included from stklos.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c vport.c In file included from vport.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c console.c In file included from console.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tcl-lib.c In file included from tcl-lib.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE tcl-lib.c:44:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Tcl_GlobalEval(interp, s) ^ tcl-lib.c:95:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Tcl_Eval(interp, s) /* very simplist. */ ^ tcl-lib.c:159:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Tcl_GetVar(interp, var, flags) ^ tcl-lib.c:168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Tcl_GetVar2(interp, name1, name2, flags) ^ tcl-lib.c:178:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Tcl_SetVar(interp, var, val, flags) ^ tcl-lib.c:187:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Tcl_SetVar2(interp, name1, name2, val, flags) ^ tcl-lib.c:202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int STk_internal_Tcl_DeleteCommand(interp, cmdName) ^ tcl-lib.c:237:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Tcl_DeleteCommand(interp, cmdName) ^ tcl-lib.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteCommandFromToken(interp, cmd) ^ tcl-lib.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CreateCommand(interp, cmdName, proc, clientData, deleteProc) ^ tcl-lib.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetCommandName(interp, command) ^ tcl-lib.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetCommandInfo(interp, cmdName, infoPtr) ^ tcl-lib.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetAssocData(interp, name, proc, clientData) ^ tcl-lib.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_DeleteAssocData(interp, name) ^ tcl-lib.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetAssocData(interp, name, procPtr) ^ tcl-lib.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_InterpDeleted(interp) ^ tcl-lib.c:640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Tcl_DeleteInterp(interp) ^ tcl-lib.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetOpenFile(interp, string, forWriting, checkUsage, filePtr) ^ tcl-lib.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_IsSafe(interp) ^ tcl-lib.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_HideCommand(interp, cmdName, hiddenCmdName) ^ tcl-lib.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_WrongNumArgs(interp, objc, objv, message) ^ 22 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tcl-util.c In file included from tcl-util.c:35: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE In file included from tcl-util.c:38: In file included from ../Tcl/tclPort.h:30: ../Tcl/tclUnixPort.h:481:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern double strtod(); ^ tcl-util.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_PosixError(interp) ^ tcl-util.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_Backslash(src, readPtr) ^ tcl-util.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_TildeSubst(interp, name, bufferPtr) ^ ../Tcl/tcl.h:1556:24: note: expanded from macro 'Tcl_TildeSubst' #define Tcl_TildeSubst Tcl_TranslateFileName ^ tcl-util.c:268:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Tcl_ExprDouble(interp, string, ptr) ^ tcl-util.c:287:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Tcl_ExprLong(interp, string, ptr) ^ tcl-util.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Tcl_AddErrorInfo(interp, message) ^ tcl-util.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AllowExceptions(interp) ^ 9 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tcl-glue.c In file included from tcl-glue.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tcl-obj.c In file included from tcl-obj.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE tcl-obj.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_CreateObjCommand(interp, cmdName, proc, clientData, deleteProc) ^ tcl-obj.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NewListObj(objc, objv) ^ tcl-obj.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjLength(interp, listPtr, intPtr) ^ tcl-obj.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjAppendElement(interp, listPtr, objPtr) ^ tcl-obj.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjReplace(interp, listPtr, first, count, objc, objv) ^ tcl-obj.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjIndex(interp, listPtr, index, objPtrPtr) ^ tcl-obj.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_ListObjGetElements(interp, listPtr, objcPtr, objvPtr) ^ tcl-obj.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NewStringObj(bytes, length) ^ tcl-obj.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_AppendToObj(objPtr, bytes, length) ^ tcl-obj.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetStringFromObj(objPtr, lengthPtr) ^ tcl-obj.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetStringObj(objPtr, bytes, length) ^ tcl-obj.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetDoubleObj(objPtr, dblValue) ^ tcl-obj.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetDoubleFromObj(interp, objPtr, dblPtr) ^ tcl-obj.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetLongObj(objPtr, longValue) ^ tcl-obj.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetLongFromObj(interp, objPtr, longPtr) ^ tcl-obj.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NewIntObj(intValue) ^ tcl-obj.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetIntObj(objPtr, intValue) ^ tcl-obj.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetIntFromObj(interp, objPtr, intPtr) ^ tcl-obj.c:559:15: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] if (*intPtr == LONG_MIN) { ~~~~~~~ ^ ~~~~~~~~ tcl-obj.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_SetBooleanObj(objPtr, boolValue) ^ tcl-obj.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetBooleanFromObj(interp, objPtr, boolPtr) ^ tcl-obj.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_NewBooleanObj(boolValue) ^ tcl-obj.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_GetIndexFromObj(interp, objPtr, tablePtr, msg, flags, indexPtr) ^ tcl-obj.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tcl_EvalObj(interp, objPtr) ^ 25 warnings generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tk-main.c In file included from tk-main.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tk-glue.c In file included from tk-glue.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -c tk-util.c In file included from tk-util.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. /bin/rm -f libstk.a ar rc libstk.a stk.o slib.o primitives.o boolean.o char.o str.o vector.o gc.o port.o number.o list.o symbol.o read.o print.o eval.o env.o macros.o syntax.o cont.o io.o sport.o promise.o error.o proc.o keyword.o dump.o address.o dynload.o unix.o toplevel.o argv.o extend.o signal.o trace.o module.o dummy.o stklos.o vport.o console.o tk-main.o tk-glue.o tk-util.o tcl-lib.o tcl-util.o tcl-glue.o tcl-obj.o ranlib libstk.a /bin/rm -f stk cc -O2 -pipe -DMACHINE=\"OpenBSD-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_SELECT_H=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/X11R6/include -o stk userinit.o libstk.a ../Mp/libgmp.a ../Stack/libstack.a ../Tk/unix/libtk.a ../Tcl/libtcl.a ../Tcl/libevtcl.a -L/usr/X11R6/lib -lSM -lICE -lX11 -lm ld: warning: proc.c(proc.o:(general_map) in archive libstk.a): warning: sprintf() is often misused, please use snprintf() ld: warning: toplevel.c(toplevel.o:(repl_driver) in archive libstk.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: toplevel.c(toplevel.o:(panic_proc) in archive libstk.a): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: tkCmds.c(tkCmds.o:(Tk_WinfoObjCmd) in archive ../Tk/unix/libtk.a): warning: strcat() is almost always misused, please use strlcat() ld: warning: unix.c(unix.o:(STk_temporary_file_name) in archive libstk.a): warning: tmpnam() possibly used unsafely; consider using mkstemp() ld: warning: slib.c(slib.o:(STk_random) in archive libstk.a): warning: rand() may return deterministic values, is that what you want? make STklos **** make STklos completed Make Extensions cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c hash.c In file included from hash.c:22: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE hash.c:230:74: warning: add explicit braces to avoid dangling else [-Wdangling-else] if ((void *) SUBRF(compar) == (void *) STk_eq) type = hash_eq; else ^ hash.c:302:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:302:16: note: place parentheses around the assignment to silence this warning if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) ^ ( ) hash.c:302:16: note: use '==' to turn this assignment into an equality comparison if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) ^ == hash.c:308:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:308:16: note: place parentheses around the assignment to silence this warning if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) ^ ( ) hash.c:308:16: note: use '==' to turn this assignment into an equality comparison if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) ^ == hash.c:314:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:314:16: note: place parentheses around the assignment to silence this warning if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { ^ ( ) hash.c:314:16: note: use '==' to turn this assignment into an equality comparison if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { ^ == hash.c:317:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (tmp = find_key(key, val, HASH_COMP(ht))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:317:10: note: place parentheses around the assignment to silence this warning if (tmp = find_key(key, val, HASH_COMP(ht))) ^ ( ) hash.c:317:10: note: use '==' to turn this assignment into an equality comparison if (tmp = find_key(key, val, HASH_COMP(ht))) ^ == hash.c:337:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:337:16: note: place parentheses around the assignment to silence this warning if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) ^ ( ) hash.c:337:16: note: use '==' to turn this assignment into an equality comparison if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) key)) ^ == hash.c:343:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:343:16: note: place parentheses around the assignment to silence this warning if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) ^ ( ) hash.c:343:16: note: use '==' to turn this assignment into an equality comparison if (entry=Tcl_FindHashEntry(HASH_H(ht), CHARS(key))) ^ == hash.c:349:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:349:16: note: place parentheses around the assignment to silence this warning if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { ^ ( ) hash.c:349:16: note: use '==' to turn this assignment into an equality comparison if (entry=Tcl_FindHashEntry(HASH_H(ht), (char *) index)) { ^ == 9 warnings generated. cc -shared -o hash.so hash.o if test -f a.out ;then mv a.out hash.so; fi cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c posix.c In file included from posix.c:27: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE posix.c:334:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (len=strftime(buffer, 1023, CHARS(format), p)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ posix.c:334:10: note: place parentheses around the assignment to silence this warning if (len=strftime(buffer, 1023, CHARS(format), p)) ^ ( ) posix.c:334:10: note: use '==' to turn this assignment into an equality comparison if (len=strftime(buffer, 1023, CHARS(format), p)) ^ == posix.c:364:9: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] pid = wait(&status); ^ 3 warnings generated. cc -shared -o posix.so posix.o if test -f a.out ;then mv a.out posix.so; fi cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c socket.c In file included from socket.c:49: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -shared -o socket.so socket.o if test -f a.out ;then mv a.out socket.so; fi cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c sregexp.c In file included from sregexp.c:7: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -shared -o sregexp.so sregexp.o if test -f a.out ;then mv a.out sregexp.so; fi cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c process.c In file included from process.c:56: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -shared -o process.so process.o if test -f a.out ;then mv a.out process.so; fi cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c html.c In file included from html.c:23: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE html.c:222:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (s = CHARS(str); c = *s; s++) { ~~^~~~ html.c:222:26: note: place parentheses around the assignment to silence this warning for (s = CHARS(str); c = *s; s++) { ^ ( ) html.c:222:26: note: use '==' to turn this assignment into an equality comparison for (s = CHARS(str); c = *s; s++) { ^ == 2 warnings generated. cc -shared -o html.so html.o if test -f a.out ;then mv a.out html.so; fi cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c base64.c In file included from base64.c:22: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -shared -o base64.so base64.o if test -f a.out ;then mv a.out base64.so; fi cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c locale.c In file included from locale.c:28: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE 1 warning generated. cc -shared -o locale.so locale.o if test -f a.out ;then mv a.out locale.so; fi cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c pixmap.c In file included from pixmap.c:45: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE pixmap.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmCreate(interp, name, argc, argv, typePtr, master, clientDataPtr) ^ pixmap.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmConfigureMaster(masterPtr, argc, argv, flags) ^ pixmap.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmGetData(interp, masterPtr) ^ pixmap.c:474:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char ** ImgXpmGetDataFromId(interp, id) ^ pixmap.c:495:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char ** ImgXpmGetDataFromString(interp, string, numLines_return) ^ pixmap.c:624:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char ** ImgXpmGetDataFromFile(interp, fileName, numLines_return) ^ pixmap.c:681:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char * GetType(colorDefn, type_ret) ^ pixmap.c:728:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char * GetColor(colorDefn, colorName, type_ret) ^ pixmap.c:793:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ImgXpmGetPixmapFromData(interp, masterPtr, instancePtr) ^ pixmap.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmConfigureInstance(instancePtr) ^ pixmap.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmCmd(clientData, interp, argc, argv) ^ pixmap.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmGet(tkwin, masterData) ^ pixmap.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmDisplay(clientData, display, drawable, imageX, imageY, width, ^ pixmap.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmFree(clientData, display) ^ pixmap.c:1412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmDelete(masterData) ^ pixmap.c:1450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ImgXpmCmdDeletedProc(clientData) ^ 17 warnings generated. cc -shared -o pixmap.so pixmap.o if test -f a.out ;then mv a.out pixmap.so; fi cc -fpic -O2 -pipe -DSTk_CODE -DSCM_CODE -DOPENBSD -DUSE_STKLOS -DUSE_TK -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -I../Tk/generic -I../Tk/unix -I../Tcl -I../Src -I../Mp -I/usr/X11R6/include -c jpeg.c In file included from jpeg.c:49: In file included from ../Src/stk.h:1665: ../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ../Src/tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE jpeg.c:70:5: warning: incompatible function pointer types initializing 'Tk_ImageFileMatchProc *' (aka 'int (*)(struct Tcl_Channel_ *, char *, char *, int *, int *)') with an expression of type 'int (FILE *, char *, char *, int *, int *)' (aka 'int (struct __sFILE *, char *, char *, int *, int *)') [-Wincompatible-function-pointer-types] FileMatchJPEG, /* fileMatchProc */ ^~~~~~~~~~~~~ jpeg.c:72:5: warning: incompatible function pointer types initializing 'Tk_ImageFileReadProc *' (aka 'int (*)(struct Tcl_Interp *, struct Tcl_Channel_ *, char *, char *, void *, int, int, int, int, int, int)') with an expression of type 'int (Tcl_Interp *, FILE *, char *, char *, Tk_PhotoHandle, int, int, int, int, int, int)' (aka 'int (struct Tcl_Interp *, struct __sFILE *, char *, char *, void *, int, int, int, int, int, int)') [-Wincompatible-function-pointer-types] FileReadJPEG, /* fileReadProc */ ^~~~~~~~~~~~ jpeg.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileMatchJPEG(f, fileName, formatString, widthPtr, heightPtr) ^ jpeg.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileReadJPEG(interp, f, fileName, formatString, imageHandle, destX, destY, ^ jpeg.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadJPEGFileHeader(f, wPtr, hPtr, decPtr, lumqt, chqt) ^ 6 warnings generated. cc -shared -o jpeg.so jpeg.o if test -f a.out ;then mv a.out jpeg.so; fi chmod 0755 stk-genmake Make started at Mon Nov 18 22:24:22 CET 2024 Make completed at Mon Nov 18 22:25:34 CET 2024 >>> Running package in lang/STk at 1731965134.79 ===> lang/STk ===> Faking installation for STk-4.0.1p19 (cd Tcl; /usr/bin/make install prefix=/exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local) (cd Tk; /usr/bin/make install INSTALL_ROOT=/exopi-obj/pobj/STk-4.0.1/fake-amd64) (cd unix; /usr/bin/make install) (cd Mp; /usr/bin/make install prefix=/exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local) (cd Src; /usr/bin/make install.stk root=/exopi-obj/pobj/STk-4.0.1/fake-amd64) if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin; fi /bin/rm -f /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin/stk /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin/stk-4.0.1 ln -s /usr/local/lib/stk/4.0.1/OpenBSD-amd64/stk /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin/stk-4.0.1 ln -s /usr/local/lib/stk/4.0.1/OpenBSD-amd64/stk /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin/stk if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64 ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64; fi /bin/cp stk /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64 chmod 0755 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64/stk (cd Snow; /usr/bin/make install.snow root=/exopi-obj/pobj/STk-4.0.1/fake-amd64) if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin; fi /bin/rm -f /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin/snow-4.0.1 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin/snow ln -s /usr/local/lib/stk/4.0.1/OpenBSD-amd64/snow /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin/snow-4.0.1 ln -s /usr/local/lib/stk/4.0.1/OpenBSD-amd64/snow /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/bin/snow if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64 ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64; fi /bin/cp snow /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64 chmod 0755 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64/snow (cd Lib; /usr/bin/make install root=/exopi-obj/pobj/STk-4.0.1/fake-amd64) if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/site-scheme ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/site-scheme; fi if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Images ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Images; fi if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk; fi if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk/Match ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk/Match; fi for i in *.stk *.stklos STk.init; do sed -e 's=/usr/local/lib/stk=/usr/local/lib/stk/4.0.1=' -e 's=/usr/local/bin=/usr/local/bin=' $i > /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk/$i ; chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk/$i; done ( cd Images; /bin/cp * /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Images ) chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Images/* /bin/cp Match/*.scm /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk/Match chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk/Match/* chmod 0755 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/site-scheme /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Images /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk/Match (cd STklos; /usr/bin/make install prefix=/exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local) if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk; fi /bin/cp *.stk *.stklos /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk /bin/cp Tk/*.stklos Tk/Composite/*.stklos /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk/*.stklos /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/STk/*.stk (cd Extensions; /usr/bin/make install prefix=/exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local) if test "hash.so posix.so socket.so sregexp.so process.so html.so base64.so locale.so pixmap.so jpeg.so" != "" ; then /bin/cp hash.so posix.so socket.so sregexp.so process.so html.so base64.so locale.so pixmap.so jpeg.so /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64; fi (cd Demos; /usr/bin/make install root=/exopi-obj/pobj/STk-4.0.1/fake-amd64) if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos; fi chmod 0755 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos for i in *.stk *.stklos Widget/*.stklos *.html; do j=`basename $i`; sed -e 's=/usr/local/lib/stk=/usr/local/lib/stk/4.0.1=' -e 's=/usr/local/bin=/usr/local/bin=' $i > /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/$j; done for i in *.stk *.stklos *.html; do chmod 0755 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/`basename $i`; done mkdir /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos; chmod 0755 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos cp Html-Demos/*.html /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos/*.html mkdir /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos/Images; chmod 0755 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos/Images cp Html-Demos/Images/*.gif /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos/Images chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos/Images/* (cd /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos; ln -s ../amib.stklos ../stklos-widgets .) if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demoslib ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/lib; fi /bin/cp ../Contrib/STk-wtour/lib/*.xbm /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/lib chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/lib/* if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/lessons ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/lessons; fi /bin/cp ../Contrib/STk-wtour/lessons/*.stk /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/lessons /bin/cp ../Contrib/STk-wtour/lessons/index /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/lessons chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/lessons/* (cd Help; /usr/bin/make install prefix=/exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local) if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help; fi chmod 0755 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help /bin/cp *.html /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help/*.html if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help/Img ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help/Img; fi chmod 0755 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help/Img /bin/cp Img/*.gif /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help/Img chmod 0644 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Help/Img/*.gif (cd Doc; /usr/bin/make install.man prefix=/exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local) (cd Manual; make install.man) if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man; fi rm -f /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/man (cd /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk ; ln -s 4.0.1/man ./man) if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/man1 ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/man1; fi rm -f /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/man1/*.n /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/man1/stk.1 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/man1/snow.1 /bin/cp STk-man.macros /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man /bin/cp stk.1 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/man1/stk.1 ln /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/man1/stk.1 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/man1/snow.1 chmod 444 /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/man1/* if [ ! -d /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/mann ] ; then mkdir -p /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/mann; fi /bin/cp STk-man.macros /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/mann for i in *.n ;do /bin/cp $i /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/man/mann/stk_$i; done (cd Stack; /usr/bin/make install prefix=/exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local) Stripping executables ... strip /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64/stk strip /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/OpenBSD-amd64/snow Installation completed. ===> Building package for STk-4.0.1p19 Create /exopi-cvs/ports/packages/amd64/all/STk-4.0.1p19.tgz Creating package STk-4.0.1p19 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming| | 1% checksumming|* | 1% checksumming|* | 2% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 4% checksumming|*** | 5% checksumming|*** | 6% checksumming|**** | 6% checksumming|**** | 7% checksumming|***** | 7% checksumming|***** | 8% checksumming|***** | 9% checksumming|****** | 9% checksumming|****** | 10% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 12% checksumming|******** | 13% checksumming|******** | 14% checksumming|********* | 14% checksumming|********* | 15% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 17% checksumming|*********** | 18% checksumming|*********** | 19% checksumming|************ | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************* | 22% checksumming|************** | 22% checksumming|************** | 23% checksumming|************** | 24% checksumming|*************** | 24% checksumming|*************** | 25% checksumming|**************** | 25% checksumming|**************** | 26% checksumming|**************** | 27% checksumming|***************** | 27% checksumming|***************** | 28% checksumming|***************** | 29% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 30% checksumming|******************* | 31% checksumming|******************* | 32% checksumming|******************** | 32% checksumming|******************** | 33% checksumming|******************** | 34% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 35% checksumming|********************** | 36% checksumming|********************** | 37% checksumming|*********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 40% checksumming|************************* | 41% checksumming|************************* | 42% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|*************************** | 45% checksumming|**************************** | 45% checksumming|**************************** | 46% checksumming|**************************** | 47% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 48% checksumming|****************************** | 49% checksumming|****************************** | 50% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************* | 52% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 53% checksumming|********************************* | 54% checksumming|********************************* | 55% checksumming|********************************** | 55% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 58% checksumming|************************************ | 59% checksumming|************************************ | 60% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|************************************** | 63% checksumming|*************************************** | 63% checksumming|*************************************** | 64% checksumming|*************************************** | 65% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 66% checksumming|***************************************** | 67% checksumming|***************************************** | 68% checksumming|****************************************** | 68% checksumming|****************************************** | 69% checksumming|****************************************** | 70% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 71% checksumming|******************************************** | 72% checksumming|******************************************** | 73% checksumming|********************************************* | 73% checksumming|********************************************* | 74% checksumming|********************************************* | 75% checksumming|********************************************** | 75% checksumming|********************************************** | 76% checksumming|*********************************************** | 76% checksumming|*********************************************** | 77% checksumming|*********************************************** | 78% checksumming|************************************************ | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************* | 81% checksumming|************************************************** | 81% checksumming|************************************************** | 82% checksumming|************************************************** | 83% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|**************************************************** | 86% checksumming|***************************************************** | 86% checksumming|***************************************************** | 87% checksumming|***************************************************** | 88% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 90% checksumming|******************************************************* | 91% checksumming|******************************************************** | 91% checksumming|******************************************************** | 92% checksumming|******************************************************** | 93% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 94% checksumming|********************************************************** | 95% checksumming|********************************************************** | 96% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************| 99% checksumming|*************************************************************|100% Warning: symlink(s) point to non-existent /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos/../stklos-widgets /exopi-obj/pobj/STk-4.0.1/fake-amd64/usr/local/lib/stk/4.0.1/Demos/Html-Demos/stklos-widgets archiving| archiving| | 0% archiving|**** | 7% archiving|******************* | 29% archiving|******************* | 30% archiving|******************** | 31% archiving|******************** | 32% archiving|********************* | 32% archiving|********************* | 33% archiving|********************** | 34% archiving|*********************** | 36% archiving|*********************** | 37% archiving|************************ | 37% archiving|************************ | 38% archiving|************************* | 40% archiving|************************** | 40% archiving|************************** | 41% archiving|*************************** | 41% archiving|*************************** | 42% archiving|*************************** | 43% archiving|**************************** | 44% archiving|***************************** | 45% archiving|***************************** | 46% archiving|****************************** | 46% archiving|****************************** | 47% archiving|******************************* | 48% archiving|******************************* | 49% archiving|******************************** | 50% archiving|******************************** | 51% archiving|********************************* | 51% archiving|********************************* | 52% archiving|********************************** | 53% archiving|*********************************** | 54% archiving|*********************************** | 55% archiving|************************************ | 55% archiving|************************************ | 56% archiving|************************************ | 57% archiving|************************************* | 58% archiving|************************************** | 59% archiving|************************************** | 60% archiving|*************************************** | 61% archiving|**************************************** | 63% archiving|***************************************** | 63% archiving|***************************************** | 64% archiving|******************************************* | 68% archiving|******************************************** | 68% archiving|******************************************** | 69% archiving|********************************************* | 70% archiving|********************************************* | 71% archiving|********************************************** | 71% archiving|********************************************** | 72% archiving|********************************************** | 73% archiving|*********************************************** | 73% archiving|*********************************************** | 74% archiving|************************************************ | 74% archiving|************************************************ | 75% archiving|************************************************ | 76% archiving|************************************************* | 76% archiving|************************************************* | 77% archiving|************************************************** | 77% archiving|************************************************** | 78% archiving|************************************************** | 79% archiving|*************************************************** | 79% archiving|*************************************************** | 80% archiving|**************************************************** | 81% archiving|**************************************************** | 82% archiving|***************************************************** | 83% archiving|****************************************************** | 84% archiving|****************************************************** | 85% archiving|******************************************************* | 86% archiving|******************************************************* | 87% archiving|******************************************************** | 87% archiving|******************************************************** | 88% archiving|********************************************************* | 89% archiving|********************************************************** | 90% archiving|********************************************************** | 91% archiving|*********************************************************** | 91% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|************************************************************ | 94% archiving|************************************************************ | 95% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|************************************************************** | 96% archiving|************************************************************** | 97% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/STk-4.0.1p19.tgz >>> Running clean in lang/STk at 1731965139.76 ===> lang/STk ===> Cleaning for STk-4.0.1p19 >>> Ended at 1731965140.31 max_stuck=0.00/build=86.03/package=5.01/clean=0.60