=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for STk-4.0.1nb3 make Tcl clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c panic.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclHash.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclGet.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c regexp.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclUtil.c 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 clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclEvent.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclTimer.c 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: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; ^ 2 warnings generated. clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclUnixNotfy.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclUnixTime.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclUnixEvent.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclPreserve.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclNotify.c clang -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I. -I../Src -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -I/usr/pkg/include -c tclAsync.c 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/pkg/bin/bmake CC="clang" CFLAGS="-O2 -I/usr/pkg/include ") rm -f stddef.h rm -f test-stddefh.c ( echo '#include ' ; echo 'main(){size_t foo=sizeof(size_t);exit(0);}' ; ) > test-stddefh.c rm -f test-stddefh.o touch stamp-stddefh clang -O2 -I/usr/pkg/include cre-mparam.c -o cre-mparam cre-mparam.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main () ^ cre-mparam.c:85:3: warning: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration] puts ("/* gmp-mparam.h -- Compiler/machine parameter header file."); ^ cre-mparam.c:109:3: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-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: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (0); ^ cre-mparam.c:117:3: note: include the header or explicitly provide a declaration for 'exit' 5 warnings generated. ./cre-mparam > tmp-gmp-mparam.h mv tmp-gmp-mparam.h gmp-mparam.h clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_init.c In file included from mpz_init.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_set.c In file included from mpz_set.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_set_ui.c In file included from mpz_set_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_set_si.c In file included from mpz_set_si.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_set_str.c In file included from mpz_set_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_iset.c In file included from mpz_iset.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_iset_ui.c In file included from mpz_iset_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_iset_si.c In file included from mpz_iset_si.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_iset_str.c In file included from mpz_iset_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_clear.c In file included from mpz_clear.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_get_ui.c In file included from mpz_get_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_get_si.c In file included from mpz_get_si.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_get_str.c In file included from mpz_get_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_size.c In file included from mpz_size.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sizeinb.c In file included from mpz_sizeinb.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_add.c In file included from mpz_add.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_add_ui.c In file included from mpz_add_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sub.c In file included from mpz_sub.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sub_ui.c In file included from mpz_sub_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mul.c In file included from mpz_mul.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mul_ui.c In file included from mpz_mul_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_div.c In file included from mpz_div.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_div_ui.c In file included from mpz_div_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mod.c In file included from mpz_mod.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mod_ui.c In file included from mpz_mod_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_dm.c In file included from mpz_dm.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_dm_ui.c In file included from mpz_dm_ui.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mdiv.c In file included from mpz_mdiv.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mmod.c In file included from mpz_mmod.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mdm.c In file included from mpz_mdm.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mdiv_ui.c In file included from mpz_mdiv_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mmod_ui.c In file included from mpz_mmod_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mdm_ui.c In file included from mpz_mdm_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_gcd.c In file included from mpz_gcd.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_gcdext.c In file included from mpz_gcdext.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sqrt.c In file included from mpz_sqrt.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_sqrtrem.c In file included from mpz_sqrtrem.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_powm.c In file included from mpz_powm.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_powm_ui.c In file included from mpz_powm_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_cmp.c In file included from mpz_cmp.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_cmp_ui.c In file included from mpz_cmp_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_cmp_si.c In file included from mpz_cmp_si.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mul_2exp.c In file included from mpz_mul_2exp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_div_2exp.c In file included from mpz_div_2exp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_mod_2exp.c In file included from mpz_mod_2exp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_abs.c In file included from mpz_abs.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_neg.c In file included from mpz_neg.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_com.c In file included from mpz_com.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_and.c In file included from mpz_and.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_ior.c In file included from mpz_ior.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_inp_raw.c In file included from mpz_inp_raw.c:25: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_inp_str.c In file included from mpz_inp_str.c:25: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_out_raw.c In file included from mpz_out_raw.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_out_str.c In file included from mpz_out_str.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_perfsqr.c In file included from mpz_perfsqr.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_random.c In file included from mpz_random.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_random2.c In file included from mpz_random2.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_pow_ui.c In file included from mpz_pow_ui.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_clrbit.c In file included from mpz_clrbit.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_fac_ui.c In file included from mpz_fac_ui.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_pprime_p.c In file included from mpz_pprime_p.c:29: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_init.c In file included from mpq_init.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set.c In file included from mpq_set.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set_ui.c In file included from mpq_set_ui.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set_si.c In file included from mpq_set_si.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set_num.c In file included from mpq_set_num.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_set_den.c In file included from mpq_set_den.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_get_num.c In file included from mpq_get_num.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_get_den.c In file included from mpq_get_den.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_add.c In file included from mpq_add.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_sub.c In file included from mpq_sub.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_mul.c In file included from mpq_mul.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_div.c In file included from mpq_div.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_clear.c In file included from mpq_clear.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_cmp.c In file included from mpq_cmp.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_inv.c In file included from mpq_inv.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpq_neg.c In file included from mpq_neg.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_add.c In file included from mpn_add.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_sub.c In file included from mpn_sub.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_cmp.c In file included from mpn_cmp.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_mul.c In file included from mpn_mul.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_div.c In file included from mpn_div.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_dm_1.c In file included from mpn_dm_1.c:28: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_mod_1.c In file included from mpn_mod_1.c:27: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_lshift.c In file included from mpn_lshift.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_rshift.c In file included from mpn_rshift.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_rshiftci.c In file included from mpn_rshiftci.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpn_sqrt.c In file included from mpn_sqrt.c:38: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c memory.c In file included from memory.c:24: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mp_set_fns.c In file included from mp_set_fns.c:23: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c _mpz_set_str.c In file included from _mpz_set_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] 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: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-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. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c _mpz_get_str.c In file included from _mpz_get_str.c:26: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mpz_realloc.c In file included from mpz_realloc.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mp_clz_tab.c In file included from mp_clz_tab.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -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: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] free ((pointer) hp); /* Collect garbage. */ ^ 2 warnings generated. clang -O2 -I/usr/pkg/include `if [ x = x ]; then echo cre-conv-tab.c; else echo ; fi` -o cre-conv-tab -lm In file included from cre-conv-tab.c:22: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' cre-conv-tab.c:59:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main () ^ cre-conv-tab.c:80:3: warning: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration] puts ("/* __mp_bases -- Structure for conversion between internal binary"); ^ cre-conv-tab.c:135:7: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-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: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (0); ^ cre-conv-tab.c:140:3: note: include the header or explicitly provide a declaration for 'exit' 5 warnings generated. ./cre-conv-tab > tmp-mp_bases.c mv tmp-mp_bases.c mp_bases.c clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mp_bases.c In file included from mp_bases.c:27: ./gmp-impl.h:30:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ ./gmp-impl.h:30:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. rm -f libgmp.a ar cr libgmp.a mpz_init.o mpz_set.o mpz_set_ui.o mpz_set_si.o mpz_set_str.o mpz_iset.o mpz_iset_ui.o mpz_iset_si.o mpz_iset_str.o mpz_clear.o mpz_get_ui.o mpz_get_si.o mpz_get_str.o mpz_size.o mpz_sizeinb.o mpz_add.o mpz_add_ui.o mpz_sub.o mpz_sub_ui.o mpz_mul.o mpz_mul_ui.o mpz_div.o mpz_div_ui.o mpz_mod.o mpz_mod_ui.o mpz_dm.o mpz_dm_ui.o mpz_mdiv.o mpz_mmod.o mpz_mdm.o mpz_mdiv_ui.o mpz_mmod_ui.o mpz_mdm_ui.o mpz_gcd.o mpz_gcdext.o mpz_sqrt.o mpz_sqrtrem.o mpz_powm.o mpz_powm_ui.o mpz_cmp.o mpz_cmp_ui.o mpz_cmp_si.o mpz_mul_2exp.o mpz_div_2exp.o mpz_mod_2exp.o mpz_abs.o mpz_neg.o mpz_com.o mpz_and.o mpz_ior.o mpz_inp_raw.o mpz_inp_str.o mpz_out_raw.o mpz_out_str.o mpz_perfsqr.o mpz_random.o mpz_random2.o mpz_pow_ui.o mpz_clrbit.o mpz_fac_ui.o mpz_pprime_p.o mpq_init.o mpq_set.o mpq_set_ui.o mpq_set_si.o mpq_set_num.o mpq_set_den.o mpq_get_num.o mpq_get_den.o mpq_add.o mpq_sub.o mpq_mul.o mpq_div.o mpq_clear.o mpq_cmp.o mpq_inv.o mpq_neg.o mpn_add.o mpn_sub.o mpn_cmp.o mpn_mul.o mpn_div.o mpn_dm_1.o mpn_mod_1.o mpn_lshift.o mpn_rshift.o mpn_rshiftci.o mpn_sqrt.o memory.o mp_set_fns.o _mpz_set_str.o _mpz_get_str.o mpz_realloc.o mp_clz_tab.o alloca.o mp_bases.o `if [ -r /bin/ranlib -o -r /usr/bin/ranlib ]; then echo ranlib; else echo true; fi` libgmp.a clang -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_gcd.c | grep -v '^#' > gcd.c clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c gcd.c gcd.c:302:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ gcd.c:302:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c itom.c In file included from itom.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 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. clang -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_add.c | grep -v '^#' > madd.c clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c madd.c madd.c:302:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ madd.c:302:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_cmp.c | grep -v '^#' > mcmp.c clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mcmp.c mcmp.c:195: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:195:6: note: 'pow' is a builtin with type 'double (double, double)' mcmp.c:323:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ mcmp.c:323:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 2 warnings generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mdiv.c In file included from mdiv.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 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. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c move.c In file included from move.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 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. clang -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_sub.c | grep -v '^#' > msub.c clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c msub.c msub.c:302:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ msub.c:302:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mtox.c In file included from mtox.c:22: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 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. clang -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_mul.c | grep -v '^#' > mult.c clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mult.c mult.c:302:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ mult.c:302:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_powm.c | grep -v '^#' > pow.c clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c pow.c pow.c:302:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ pow.c:302:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' pow.c:359: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:359:1: note: 'pow' is a builtin with type 'double (double, double)' 2 warnings generated. clang -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_pow_ui.c | grep -v '^#' > rpow.c clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c rpow.c rpow.c:302:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ rpow.c:302:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c xtom.c In file included from xtom.c:22: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 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. clang -O2 -I/usr/pkg/include -E -DBERKELEY_MP mpz_sqrtrem.c | grep -v '^#' > msqrt.c clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c msqrt.c msqrt.c:302:15: warning: incompatible redeclaration of library function 'abort' [-Wincompatible-library-redeclaration] volatile void abort (void); ^ msqrt.c:302:15: note: 'abort' is a builtin with type 'void (void) __attribute__((noreturn))' 1 warning generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c sdiv.c In file included from sdiv.c:22: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 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. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mout.c In file included from mout.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 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: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration] puts (str); ^ 3 warnings generated. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c min.c In file included from min.c:24: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 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. clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c mfree.c In file included from mfree.c:21: ./mp.h:72:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] 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 clang -O2 -I/usr/pkg/include -I/usr/pkg/include -c libstack.c /bin/rm -f libstack.a ar cqv libstack.a libstack.o a - libstack.o ranlib libstack.a make Tk (cd unix; /usr/pkg/bin/bmake libtk.a) clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tk3d.c In file included from ./../generic/tk3d.c:16: In file included from ./../generic/tk3d.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkArgv.c In file included from ./../generic/tkArgv.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkAtom.c In file included from ./../generic/tkAtom.c:19: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkBind.c In file included from ./../generic/tkBind.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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:3368:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] if (XKeycodeToKeysym(event.xany.display, ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/lang/STk/work/.buildlink/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, ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ./../generic/tkBind.c:4439:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] sym = XKeycodeToKeysym(dispPtr->display, eventPtr->xkey.keycode, index); ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/lang/STk/work/.buildlink/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, ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/lang/STk/work/.buildlink/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, ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ ./../generic/tkBind.c:4516:11: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysym = XKeycodeToKeysym(dispPtr->display, *codePtr, 0); ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/lang/STk/work/.buildlink/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); ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/lang/STk/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkBitmap.c In file included from ./../generic/tkBitmap.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkClipboard.c In file included from ./../generic/tkClipboard.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCmds.c In file included from ./../generic/tkCmds.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkColor.c In file included from ./../generic/tkColor.c:17: In file included from ./../generic/tkColor.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkConfig.c In file included from ./../generic/tkConfig.c:15: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCursor.c In file included from ./../generic/tkCursor.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkError.c In file included from ./../generic/tkError.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkEvent.c In file included from ./../generic/tkEvent.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkFocus.c In file included from ./../generic/tkFocus.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkFont.c In file included from ./../generic/tkFont.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGet.c In file included from ./../generic/tkGet.c:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGC.c In file included from ./../generic/tkGC.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGeometry.c In file included from ./../generic/tkGeometry.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGrab.c In file included from ./../generic/tkGrab.c:15: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkGrid.c In file included from ./../generic/tkGrid.c:14: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkOption.c In file included from ./../generic/tkOption.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkPack.c In file included from ./../generic/tkPack.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkPlace.c In file included from ./../generic/tkPlace.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkSelect.c In file included from ./../generic/tkSelect.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkUtil.c In file included from ./../generic/tkUtil.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkVisual.c In file included from ./../generic/tkVisual.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkWindow.c In file included from ./../generic/tkWindow.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnix.c In file included from ./tkUnix.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnix3d.c In file included from ./tkUnix3d.c:15: In file included from ./../generic/tk3d.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixButton.c In file included from ./tkUnixButton.c:15: In file included from ./../generic/tkButton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixColor.c In file included from ./tkUnixColor.c:15: In file included from ./../generic/tkColor.h:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixCursor.c In file included from ./tkUnixCursor.c:14: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixDraw.c In file included from ./tkUnixDraw.c:14: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixEmbed.c In file included from ./tkUnixEmbed.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixEvent.c In file included from ./tkUnixEvent.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixFocus.c In file included from ./tkUnixFocus.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixFont.c In file included from ./tkUnixFont.c:15: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DTK_LIBRARY=\"/usr/local/lib/tk4.0.1\" ./tkUnixInit.c In file included from ./tkUnixInit.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixMenu.c In file included from ./tkUnixMenu.c:14: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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: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) ^ 5 warnings generated. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixMenubu.c In file included from ./tkUnixMenubu.c:15: In file included from ./../generic/tkMenubutton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixScale.c In file included from ./tkUnixScale.c:15: In file included from ./../generic/tkScale.h:19: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixScrlbr.c In file included from ./tkUnixScrlbr.c:15: In file included from ./../generic/tkScrollbar.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixSelect.c In file included from ./tkUnixSelect.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixSend.c In file included from ./tkUnixSend.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixWm.c In file included from ./tkUnixWm.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./tkUnixXId.c In file included from ./tkUnixXId.c:31: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkButton.c In file included from ./../generic/tkButton.c:18: In file included from ./../generic/tkButton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkEntry.c In file included from ./../generic/tkEntry.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkFrame.c In file included from ./../generic/tkFrame.c:19: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkListbox.c In file included from ./../generic/tkListbox.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMenu.c In file included from ./../generic/tkMenu.c:71: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMenubutton.c In file included from ./../generic/tkMenubutton.c:16: In file included from ./../generic/tkMenubutton.h:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMenuDraw.c In file included from ./../generic/tkMenuDraw.c:15: In file included from ./../generic/tkMenu.h:18: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkMessage.c In file included from ./../generic/tkMessage.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkScale.c In file included from ./../generic/tkScale.c:23: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkScrollbar.c In file included from ./../generic/tkScrollbar.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvas.c In file included from ./../generic/tkCanvas.c:18: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvArc.c In file included from ./../generic/tkCanvArc.c:16: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvBmap.c In file included from ./../generic/tkCanvBmap.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvImg.c In file included from ./../generic/tkCanvImg.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvLine.c In file included from ./../generic/tkCanvLine.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvPoly.c In file included from ./../generic/tkCanvPoly.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvPs.c In file included from ./../generic/tkCanvPs.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvText.c In file included from ./../generic/tkCanvText.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvUtil.c In file included from ./../generic/tkCanvUtil.c:16: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkCanvWind.c In file included from ./../generic/tkCanvWind.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkRectOval.c In file included from ./../generic/tkRectOval.c:17: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTrig.c In file included from ./../generic/tkTrig.c:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImage.c In file included from ./../generic/tkImage.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgBmap.c In file included from ./../generic/tkImgBmap.c:15: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgGIF.c In file included from ./../generic/tkImgGIF.c:60: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgPPM.c In file included from ./../generic/tkImgPPM.c:19: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkImgPhoto.c In file included from ./../generic/tkImgPhoto.c:21: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkText.c In file included from ./../generic/tkText.c:20: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextBTree.c In file included from ./../generic/tkTextBTree.c:17: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextDisp.c In file included from ./../generic/tkTextDisp.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextImage.c In file included from ./../generic/tkTextImage.c:16: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextIndex.c In file included from ./../generic/tkTextIndex.c:17: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextMark.c In file included from ./../generic/tkTextMark.c:16: In file included from ./../generic/tkInt.h:21: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextTag.c In file included from ./../generic/tkTextTag.c:18: In file included from ./../generic/tkPort.h:20: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -c -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -I../../Src -I. -I./../generic -I./../bitmaps -I../../Tcl/ -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 ./../generic/tkTextWind.c In file included from ./../generic/tkTextWind.c:17: In file included from ./../generic/tk.h:91: ../../Src/tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. rm -f libtk.a ar cr libtk.a tk3d.o tkArgv.o tkAtom.o tkBind.o tkBitmap.o tkClipboard.o tkCmds.o tkColor.o tkConfig.o tkCursor.o tkError.o tkEvent.o tkFocus.o tkFont.o tkGet.o tkGC.o tkGeometry.o tkGrab.o tkGrid.o tkOption.o tkPack.o tkPlace.o tkSelect.o tkUtil.o tkVisual.o tkWindow.o tkUnix.o tkUnix3d.o tkUnixButton.o tkUnixColor.o tkUnixCursor.o tkUnixDraw.o tkUnixEmbed.o tkUnixEvent.o tkUnixFocus.o tkUnixFont.o tkUnixInit.o tkUnixMenu.o tkUnixMenubu.o tkUnixScale.o tkUnixScrlbr.o tkUnixSelect.o tkUnixSend.o tkUnixWm.o tkUnixXId.o tkButton.o tkEntry.o tkFrame.o tkListbox.o tkMenu.o tkMenubutton.o tkMenuDraw.o tkMessage.o tkScale.o tkScrollbar.o tkCanvas.o tkCanvArc.o tkCanvBmap.o tkCanvImg.o tkCanvLine.o tkCanvPoly.o tkCanvPs.o tkCanvText.o tkCanvUtil.o tkCanvWind.o tkRectOval.o tkTrig.o tkImage.o tkImgBmap.o tkImgGIF.o tkImgPPM.o tkImgPhoto.o tkText.o tkTextBTree.o tkTextDisp.o tkTextImage.o tkTextIndex.o tkTextMark.o tkTextTag.o tkTextWind.o ranlib libtk.a make Snow clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c userinit.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c stk.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c slib.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c primitives.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c boolean.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c char.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c str.c str.c:188:38: warning: result of comparison of constant -9223372036854775808 with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare] 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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c vector.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c gc.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c port.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c number.c 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); ^ 2 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c list.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c symbol.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c read.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c print.c print.c:69:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(p) == len) ^ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 1 warning generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c eval.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c env.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c macros.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c syntax.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c cont.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c io.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c sport.c sport.c:41:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p->base, str); ^~~~~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 1 warning generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c promise.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c error.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c proc.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c keyword.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c dump.c dump.c:62:52: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] data_size = (char *)current_break - (char *) DATA_START(header); ^ dump.c:40:24: note: expanded from macro 'DATA_START' #define DATA_START(x) (N_DATADDR(x)) ^ /usr/include/sys/imgact_aout.h:84:2: note: expanded from macro 'N_DATADDR' N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text)) ^ /usr/include/sys/imgact_aout.h:61:3: note: expanded from macro 'N_ALIGN' N_GETMAGIC_NET(ex) == ZMAGIC || N_GETMAGIC_NET(ex) == QMAGIC ? \ ^ /usr/include/sys/imgact_aout.h:50:3: note: expanded from macro 'N_GETMAGIC_NET' (ntohl((ex).a_midmag) & 0xffff) ^ dump.c:62:43: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] data_size = (char *)current_break - (char *) DATA_START(header); ^ dump.c:70:14: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] write(fd2, (void *)DATA_START(header), data_size); ^ 3 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c address.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c dynload.c dynload.c:188:26: warning: implicit declaration of function 'dlopen' is invalid in C99 [-Wimplicit-function-declaration] if ((handle = (void *) dlopen(NULL, DYN_FLAG)) == NULL) ^ dynload.c:188:17: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] if ((handle = (void *) dlopen(NULL, DYN_FLAG)) == NULL) ^ dynload.c:189:63: warning: implicit declaration of function 'dlerror' is invalid in C99 [-Wimplicit-function-declaration] Err("dynload: cannot initialize dynload.", STk_makestring(dlerror())); ^ dynload.c:189:63: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] Err("dynload: cannot initialize dynload.", STk_makestring(dlerror())); ^~~~~~~~~ ./stk.h:1372:53: note: expanded from macro 'STk_makestring' #define STk_makestring(s) STk_makestrg((int) strlen(s), (s)) ^ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dynload.c:189:48: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] Err("dynload: cannot initialize dynload.", STk_makestring(dlerror())); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./stk.h:1372:57: note: expanded from macro 'STk_makestring' #define STk_makestring(s) STk_makestrg((int) strlen(s), (s)) ^~~ ./stk.h:1336:39: note: passing argument to parameter 'init' here SCM STk_makestrg(int len, char *init); ^ dynload.c:211:26: warning: implicit declaration of function 'dlopen' is invalid in C99 [-Wimplicit-function-declaration] if ((handle=(void *) dlopen(path, DYN_FLAG)) == NULL) ^ dynload.c:211:17: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] if ((handle=(void *) dlopen(path, DYN_FLAG)) == NULL) ^ dynload.c:212:70: warning: implicit declaration of function 'dlerror' is invalid in C99 [-Wimplicit-function-declaration] fprintf(stderr, "find_function: cannot open object file : %s", dlerror()); ^ dynload.c:212:70: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(stderr, "find_function: cannot open object file : %s", dlerror()); ~~ ^~~~~~~~~ %d dynload.c:216:23: warning: implicit declaration of function 'dlsym' is invalid in C99 [-Wimplicit-function-declaration] if ((fct = (void *) dlsym(handle, fname)) == NULL && error_if_absent) { ^ dynload.c:216:14: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] if ((fct = (void *) dlsym(handle, fname)) == NULL && error_if_absent) { ^ dynload.c:667:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dynload.c:673:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dynload.c:679:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 14 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c unix.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/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' [-Wimplicit-int] static C_hash_table_initialized = 0; ~~~~~~ ^ 2 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c signal.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c trace.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c module.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c dummy.c dummy.c:46:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 1 warning generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c stklos.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c vport.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c console.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tcl-lib.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tcl-util.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tcl-glue.c clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tcl-obj.c 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) { ~~~~~~~ ^ ~~~~~~~~ 1 warning 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 clang -rdynamic -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DNO_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -o snow userinit.o libsnow.a ../Mp/libgmp.a ../Stack/libstack.a ../Tcl/libtcl.a -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ldl -lm libsnow.a(unix.o): In function `STk_temporary_file_name': unix.c:(.text+0x13f9): warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() make Src clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c userinit.c In file included from userinit.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c stk.c In file included from stk.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c slib.c In file included from slib.c:26: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c primitives.c In file included from primitives.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c boolean.c In file included from boolean.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c char.c In file included from char.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c str.c In file included from str.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c vector.c In file included from vector.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c gc.c In file included from gc.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c port.c In file included from port.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c number.c In file included from number.c:38: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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: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); ^ 3 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c list.c In file included from list.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c symbol.c In file included from symbol.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c read.c In file included from read.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c print.c In file included from print.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE print.c:69:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(p) == len) ^ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ 2 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c eval.c In file included from eval.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c env.c In file included from env.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c macros.c In file included from macros.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c syntax.c In file included from syntax.c:39: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c cont.c In file included from cont.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c io.c In file included from io.c:50: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c sport.c In file included from sport.c:27: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE sport.c:41:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p->base, str); ^~~~~~~ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ 2 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c promise.c In file included from promise.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c error.c In file included from error.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c proc.c In file included from proc.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c keyword.c In file included from keyword.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c dump.c In file included from dump.c:21: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef _TK_GLUE ^~~~~~~~ ./tk-glue.h:25:9: note: '_TK_GLUE_' is defined here; did you mean '_TK_GLUE'? #define _TK_GLUE_ ^~~~~~~~~ _TK_GLUE dump.c:62:52: warning: implicit declaration of function 'ntohl' is invalid in C99 [-Wimplicit-function-declaration] data_size = (char *)current_break - (char *) DATA_START(header); ^ dump.c:40:24: note: expanded from macro 'DATA_START' #define DATA_START(x) (N_DATADDR(x)) ^ /usr/include/sys/imgact_aout.h:84:2: note: expanded from macro 'N_DATADDR' N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text)) ^ /usr/include/sys/imgact_aout.h:61:3: note: expanded from macro 'N_ALIGN' N_GETMAGIC_NET(ex) == ZMAGIC || N_GETMAGIC_NET(ex) == QMAGIC ? \ ^ /usr/include/sys/imgact_aout.h:50:3: note: expanded from macro 'N_GETMAGIC_NET' (ntohl((ex).a_midmag) & 0xffff) ^ dump.c:62:43: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] data_size = (char *)current_break - (char *) DATA_START(header); ^ dump.c:70:14: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] write(fd2, (void *)DATA_START(header), data_size); ^ 4 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c address.c In file included from address.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c dynload.c In file included from dynload.c:90: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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:188:26: warning: implicit declaration of function 'dlopen' is invalid in C99 [-Wimplicit-function-declaration] if ((handle = (void *) dlopen(NULL, DYN_FLAG)) == NULL) ^ dynload.c:188:17: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] if ((handle = (void *) dlopen(NULL, DYN_FLAG)) == NULL) ^ dynload.c:189:63: warning: implicit declaration of function 'dlerror' is invalid in C99 [-Wimplicit-function-declaration] Err("dynload: cannot initialize dynload.", STk_makestring(dlerror())); ^ dynload.c:189:63: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] Err("dynload: cannot initialize dynload.", STk_makestring(dlerror())); ^~~~~~~~~ ./stk.h:1372:53: note: expanded from macro 'STk_makestring' #define STk_makestring(s) STk_makestrg((int) strlen(s), (s)) ^ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ dynload.c:189:48: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] Err("dynload: cannot initialize dynload.", STk_makestring(dlerror())); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./stk.h:1372:57: note: expanded from macro 'STk_makestring' #define STk_makestring(s) STk_makestrg((int) strlen(s), (s)) ^~~ ./stk.h:1336:39: note: passing argument to parameter 'init' here SCM STk_makestrg(int len, char *init); ^ dynload.c:211:26: warning: implicit declaration of function 'dlopen' is invalid in C99 [-Wimplicit-function-declaration] if ((handle=(void *) dlopen(path, DYN_FLAG)) == NULL) ^ dynload.c:211:17: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] if ((handle=(void *) dlopen(path, DYN_FLAG)) == NULL) ^ dynload.c:212:70: warning: implicit declaration of function 'dlerror' is invalid in C99 [-Wimplicit-function-declaration] fprintf(stderr, "find_function: cannot open object file : %s", dlerror()); ^ dynload.c:212:70: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] fprintf(stderr, "find_function: cannot open object file : %s", dlerror()); ~~ ^~~~~~~~~ %d dynload.c:216:23: warning: implicit declaration of function 'dlsym' is invalid in C99 [-Wimplicit-function-declaration] if ((fct = (void *) dlsym(handle, fname)) == NULL && error_if_absent) { ^ dynload.c:216:14: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] if ((fct = (void *) dlsym(handle, fname)) == NULL && error_if_absent) { ^ dynload.c:667:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dynload.c:673:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ dynload.c:679:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 15 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c unix.c In file included from unix.c:58: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c toplevel.c In file included from toplevel.c:32: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c argv.c In file included from argv.c:37: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c extend.c In file included from extend.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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' [-Wimplicit-int] static C_hash_table_initialized = 0; ~~~~~~ ^ 3 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c signal.c In file included from signal.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c trace.c In file included from trace.c:41: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c module.c In file included from module.c:22: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c dummy.c In file included from dummy.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c stklos.c In file included from stklos.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c vport.c In file included from vport.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c console.c In file included from console.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tcl-lib.c In file included from tcl-lib.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tcl-util.c In file included from tcl-util.c:35: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tcl-glue.c In file included from tcl-glue.c:23: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tcl-obj.c In file included from tcl-obj.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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: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) { ~~~~~~~ ^ ~~~~~~~~ 2 warnings generated. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tk-main.c In file included from tk-main.c:28: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tk-glue.c In file included from tk-glue.c:24: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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. clang -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -I/usr/pkg/include -c tk-util.c In file included from tk-util.c:25: In file included from ./stk.h:1665: ./tk-glue.h:24:9: warning: '_TK_GLUE' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #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 clang -rdynamic -O2 -I/usr/pkg/include -DMACHINE=\"FreeBSD-11.2-RELEASE-amd64\" -DUSE_DYNLOAD -DUSE_TK -DSTk_CODE -DSCM_CODE -DFREEBSD -DUSE_STKLOS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SIGACTION=1 -DHAVE_SELECT=1 -DSTDC_HEADERS=1 -I. -I../Tk/generic -I../Tk/unix -I../Tcl -I../Mp -I../Stack -o stk userinit.o libstk.a ../Mp/libgmp.a ../Stack/libstack.a ../Tk/unix/libtk.a ../Tcl/libtcl.a ../Tcl/libevtcl.a -lSM -lICE -lX11 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -ldl -lm libstk.a(unix.o): In function `STk_temporary_file_name': unix.c:(.text+0x13f9): warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() make STklos **** make STklos completed Make Extensions clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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. ld -shared -o hash.so hash.o if test -f a.out ;then mv a.out hash.so; fi clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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:333:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (len=strftime(buffer, 1023, CHARS(format), p)) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ posix.c:333:10: note: place parentheses around the assignment to silence this warning if (len=strftime(buffer, 1023, CHARS(format), p)) ^ ( ) posix.c:333:10: note: use '==' to turn this assignment into an equality comparison if (len=strftime(buffer, 1023, CHARS(format), p)) ^ == posix.c:363:9: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] pid = wait(&status); ^ 3 warnings generated. ld -shared -o posix.so posix.o if test -f a.out ;then mv a.out posix.so; fi clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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 socket.c:249:48: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(s, (struct sockaddr *) &sin, (int *) &len) < 0) { ^~~~~~~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socket.c:309:77: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (BAD_SOCKET(new_s = accept(SOCKET(sock)->fd, (struct sockaddr *) &sin, &len))) ^~~~ socket.c:50:27: note: expanded from macro 'BAD_SOCKET' # define BAD_SOCKET(s) ((s) < 0) ^ /usr/include/sys/socket.h:615:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ socket.c:524:63: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(SOCKET(sock)->fd, (struct sockaddr *) &sin, &len)) ^~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 4 warnings generated. ld -shared -o socket.so socket.o if test -f a.out ;then mv a.out socket.so; fi clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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. ld -shared -o sregexp.so sregexp.o if test -f a.out ;then mv a.out sregexp.so; fi clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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. ld -shared -o process.so process.o if test -f a.out ;then mv a.out process.so; fi clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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:159:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] Tcl_DStringAppend(dStr, &table[i].c, 1); ^~~~~~~~~~~ ../Tcl/tcl.h:1239:20: note: passing argument to parameter 'string' here CONST char *string, int length)); ^ 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++) { ^ == 3 warnings generated. ld -shared -o html.so html.o if test -f a.out ;then mv a.out html.so; fi clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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. ld -shared -o base64.so base64.o if test -f a.out ;then mv a.out base64.so; fi clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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. ld -shared -o locale.so locale.o if test -f a.out ;then mv a.out locale.so; fi clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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 1 warning generated. ld -shared -o pixmap.so pixmap.o if test -f a.out ;then mv a.out pixmap.so; fi clang -fpic -O2 -I/usr/pkg/include -DSTk_CODE -DSCM_CODE -DFREEBSD -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/pkg/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 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-pointer-types] FileMatchJPEG, /* fileMatchProc */ ^~~~~~~~~~~~~ jpeg.c:72:5: warning: incompatible 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-pointer-types] FileReadJPEG, /* fileReadProc */ ^~~~~~~~~~~~ jpeg.c:499:12: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] dest = y + (8 * piece); ^ ~~~~~~~~~~~~~~~ jpeg.c:507:12: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] dest = y + (16*8) + (8 * (piece-2)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jpeg.c:515:12: warning: assigning to 'unsigned char *' from 'signed char [64]' converts between pointers to integer types with different sign [-Wpointer-sign] dest = cb; ^ ~~ jpeg.c:523:12: warning: assigning to 'unsigned char *' from 'signed char [64]' converts between pointers to integer types with different sign [-Wpointer-sign] dest = cr; ^ ~~ jpeg.c:533:12: warning: assigning to 'unsigned char *' from 'signed char *' converts between pointers to integer types with different sign [-Wpointer-sign] dest = y + (8 * piece); ^ ~~~~~~~~~~~~~~~ jpeg.c:541:12: warning: assigning to 'unsigned char *' from 'signed char [64]' converts between pointers to integer types with different sign [-Wpointer-sign] dest = cb; ^ ~~ jpeg.c:549:12: warning: assigning to 'unsigned char *' from 'signed char [64]' converts between pointers to integer types with different sign [-Wpointer-sign] dest = cr; ^ ~~ jpeg.c:598:13: warning: assigning to 'signed char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] outPtr = dest; ^ ~~~~ 11 warnings generated. ld -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 Aug 27 19:44:42 UTC 2018 Make completed at Mon Aug 27 19:46:21 UTC 2018