Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 831253 Details for
Bug 880963
dev-tcltk/tktable-2.10 - ./.../tkTableTag.c: error: incompatible function pointer types
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-tcltk:tktable-2.10:20221111-115333.log
dev-tcltk:tktable-2.10:20221111-115333.log (text/plain), 33.29 KB, created by
Toralf Förster
on 2022-11-11 12:30:57 UTC
(
hide
)
Description:
dev-tcltk:tktable-2.10:20221111-115333.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-11 12:30:57 UTC
Size:
33.29 KB
patch
obsolete
> * Package: dev-tcltk/tktable-2.10:0 > * Repository: gentoo > * Maintainer: tcltk@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking Tktable2.10.tar.gz to /var/tmp/portage/dev-tcltk/tktable-2.10/work >>>> Source unpacked in /var/tmp/portage/dev-tcltk/tktable-2.10/work >>>> Preparing source in /var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10 ... >>>> Source prepared. > * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>>> Configuring source in /var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10 ... >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 >checking for correct TEA configuration... ok (TEA 3.7) >checking for Tcl configuration... found /usr/lib64/tclConfig.sh >checking for existence of /usr/lib64/tclConfig.sh... loading >checking for Tk configuration... found /usr/lib64/tkConfig.sh >checking for existence of /usr/lib64/tkConfig.sh... loading >configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr >checking for x86_64-pc-linux-gnu-gcc... clang >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether clang accepts -g... yes >checking for clang option to accept ANSI C... none needed >checking how to run the C preprocessor... clang -E >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether make sets $(MAKE)... yes >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for egrep... grep -E >checking for ANSI C header files... no >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking if the compiler understands -pipe... yes >checking whether byte ordering is bigendian... no >checking for sin... no >checking for main in -lieee... no >checking for main in -linet... no >checking net/errno.h usability... no >checking net/errno.h presence... no >checking for net/errno.h... no >checking for connect... yes >checking for gethostbyname... yes >checking dirent.h... yes >checking errno.h usability... yes >checking errno.h presence... yes >checking for errno.h... yes >checking float.h usability... yes >checking float.h presence... yes >checking for float.h... yes >checking values.h usability... yes >checking values.h presence... yes >checking for values.h... yes >checking limits.h usability... yes >checking limits.h presence... yes >checking for limits.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking sys/wait.h usability... yes >checking sys/wait.h presence... yes >checking for sys/wait.h... yes >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking sys/param.h usability... yes >checking sys/param.h presence... yes >checking for sys/param.h... yes >checking for Tcl public headers... /usr/include >checking for Tk public headers... /usr/include >checking for X... libraries , headers >checking for X11 header files... checking for pthread_mutex_init in -lpthread... yes >checking for building with threads... yes (default) >checking how to build libraries... shared >checking if 64bit support is requested... no >checking if 64bit Sparc VIS support is requested... no >checking if compiler supports visibility "hidden"... yes >checking if rpath support is requested... yes >checking system version... Linux-6.0.8 >checking for dlopen in -ldl... yes >checking for ar... ar >checking for required early compiler flags... _LARGEFILE64_SOURCE >checking for 64-bit integer type... using long >checking for build with symbols... no >checking for tclsh... /usr/bin/tclsh8.6 >checking for wish... /usr/bin/wish8.6 >configure: creating ./config.status >config.status: creating Makefile >>>> Source configured. >'/var/tmp/portage/dev-tcltk/tktable-2.10/temp/clang16-errors.log' -> '/var/tmp/clang/dev-tcltk/tktable-2.10/clang16-errors.log' >'/var/tmp/portage/dev-tcltk/tktable-2.10/temp/clang16-safe.log' -> '/var/tmp/clang/dev-tcltk/tktable-2.10/clang16-safe.log' >>>> Compiling source in /var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10 ... >make -j4 >sed -e '/^\#/d' -e '/^$/d' -e 's/\\/\\\\/g' -e 's/\"/\\"/g' -e 's/^/"/' -e 's/$/\\n"/' < `echo library/tkTable.tcl` > 'tkTable.tcl.h' || { rm -f tkTable.tcl.h; exit 1; } >clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTable.c` -o tkTable.o >clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTableWin.c` -o tkTableWin.o >clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTableTag.c` -o tkTableTag.o >clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTableEdit.c` -o tkTableEdit.o >./generic/tkTableEdit.c:365:1: warning: a function definition without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableDeleteChars(tablePtr, index, count) >^ >./generic/tkTableEdit.c:455:1: warning: a function definition without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableInsertChars(tablePtr, index, value) >^ >./generic/tkTableEdit.c:584:1: warning: a function definition without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableModifyRC(tablePtr, doRows, flags, tagTblPtr, dimTblPtr, >^ >./generic/tkTableEdit.c:608:42: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > entryPtr = Tcl_FindHashEntry(tagTblPtr, (char *)from); > ^~~~~~~~~~~~ >/usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' > (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) > ^~~ >./generic/tkTableEdit.c:612:42: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > entryPtr = Tcl_FindHashEntry(dimTblPtr, (char *)from-offset); > ^~~~~~~~~~~~ >/usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' > (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) > ^~~ >./generic/tkTableEdit.c:617:46: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > entryPtr = Tcl_FindHashEntry(tagTblPtr, (char *)to); > ^~~~~~~~~~ >/usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' > (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) > ^~~ >./generic/tkTableEdit.c:619:43: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > newPtr = Tcl_CreateHashEntry(tagTblPtr, (char *)from, &new); > ^~~~~~~~~~~~ >/usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' > (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) > ^~~ >./generic/tkTableEdit.c:623:46: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > entryPtr = Tcl_FindHashEntry(dimTblPtr, (char *)to-offset); > ^~~~~~~~~~ >/usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' > (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) > ^~~ >./generic/tkTableEdit.c:625:43: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > newPtr = Tcl_CreateHashEntry(dimTblPtr, (char *)from-offset, > ^~~~~~~~~~~~ >/usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' > (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) > ^~~ >./generic/tkTableEdit.c:584:1: warning: a function definition without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableModifyRC(tablePtr, doRows, flags, tagTblPtr, dimTblPtr, >^ >./generic/tkTableTag.c:47:18: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >{ Cmd_OptionSet, Cmd_OptionGet, (ClientData) (&tagState_vals) }; > ^~~~~~~~~~~~~ >./generic/tkTableTag.c:49:21: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >{ TableOptionBdSet, TableOptionBdGet, (ClientData) BD_TABLE_TAG }; > ^~~~~~~~~~~~~~~~ >./generic/tkTableTag.c:51:25: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >{ TableOptionReliefSet, TableOptionReliefGet, (ClientData) NULL }; > ^~~~~~~~~~~~~~~~~~~~ >./generic/tkTableTag.c:578:29: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > : tablePtr->colStyles, (char *) cell); > ^~~~~~~~~~~~~ >/usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' > (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) > ^~~ >./generic/tkTableTag.c:874:5: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > (char *)value, &newEntry); > ^~~~~~~~~~~~~ >/usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' > (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) > ^~~ >./generic/tkTableTag.c:907:5: warning: cast to smaller integer type 'int' from > 'void *' [-Wvoid-pointer-to-int-cast] > (int) Tcl_GetHashKey(hashTblPtr, scanPtr)); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./generic/tkTableTag.c:929:48: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > entryPtr = Tcl_FindHashEntry(hashTblPtr, (char *)value); > ^~~~~~~~~~~~~ >/usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' > (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) > ^~~ >./generic/tkTableTag.c:940:8: warning: cast to 'char *' from smaller integer > type 'int' [-Wint-to-pointer-cast] > (char *) value, &newEntry); > ^~~~~~~~~~~~~~ >/usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' > (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) > ^~~ >./generic/tkTableWin.c:72:58: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >static Tk_CustomOption stickyOption = { StickyParseProc, StickyPrintProc, > ^~~~~~~~~~~~~~~ >./generic/tkTableWin.c:74:56: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >static Tk_CustomOption tagBdOpt = { TableOptionBdSet, TableOptionBdGet, > ^~~~~~~~~~~~~~~~ >./generic/tkTableTag.c:1311:1: warning: a function definition without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableOptionReliefSet(clientData, interp, tkwin, value, widgRec, offset) >^ >./generic/tkTableTag.c:1311:1: warning: a function definition without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTableWin.c:121./generic/tkTableTag.c::11344:: 1warning: :a warning: function adefinition functionwithout definitiona withoutprototype >a >is prototypedeprecated isin deprecatedall inversions allof versionsC ofand Cis andnot issupported notin supportedC2x >in [-Wdeprecated-non-prototype]C2x > > [-Wdeprecated-non-prototype] >StickyPrintProc(clientData, tkwin, widgRec, offset, freeProcPtr) >TableOptionReliefGet(clientData, tkwin, widgRec, offset, freeProcPtr)^ > >^ >./generic/tkTableTag.c:1344:1: warning: a function definition without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >9 warnings and 3 errors generated. >./generic/tkTableWin.c:121:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTableWin.c:162:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >StickyParseProc(clientData, interp, tkwin, value, widgRec, offset) >^ >./generic/tkTableWin.c:162:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:164:52: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >static Tk_CustomOption drawOpt = { Cmd_OptionSet, Cmd_OptionGet, > ^~~~~~~~~~~~~ >./generic/tkTable.c:166:57: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >static Tk_CustomOption resizeTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, > ^~~~~~~~~~~~~ >./generic/tkTable.c:168:54: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >static Tk_CustomOption stretchOpt = { Cmd_OptionSet, Cmd_OptionGet, > ^~~~~~~~~~~~~ >./generic/tkTable.c:170:54: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >static Tk_CustomOption selTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, > ^~~~~~~~~~~~~ >./generic/tkTable.c:172:56: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >static Tk_CustomOption stateTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, > ^~~~~~~~~~~~~ >./generic/tkTable.c:174:53: error: incompatible function pointer types > initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct > Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type > 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char > *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') > [-Werror,-Wincompatible-function-pointer-types] >static Tk_CustomOption bdOpt = { TableOptionBdSet, TableOptionBdGet, > ^~~~~~~~~~~~~~~~ >./generic/tkTableWin.c:417:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >EmbWinRequestProc(clientData, tkwin) >^ >./generic/tkTableWin.c:417:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >make: *** [Makefile:304: tkTableTag.o] Error 1 >make: *** Waiting for unfinished jobs.... >./generic/tkTableWin.c:490:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >EmbWinLostSlaveProc(clientData, tkwin) >^ >./generic/tkTableWin.c:490:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTableWin.c:523:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >EmbWinStructureProc(clientData, eventPtr) >^ >./generic/tkTableWin.c:523:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTableWin.c:608:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >EmbWinConfigure(tablePtr, ewPtr, objc, objv) >^ >./generic/tkTable.c:436:1: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >StringifyObjects(objc, objv) >^ >./generic/tkTableWin.c:608:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:436:1: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:488:1: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >Tk_TableObjCmd(clientData, interp, objc, objv) >^ >./generic/tkTable.c:488:1: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:634:1: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableWidgetObjCmd(clientData, interp, objc, objv) >^ >12 warnings and 2 errors generated. >./generic/tkTable.c:634:1: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:1031:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableConfigure(interp, tablePtr, objc, objv, flags, forceUpdate) >^ >make: *** [Makefile:304: tkTableWin.o] Error 1 >./generic/tkTable.c:1031:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:1284:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableWorldChanged(instanceData) >^ >./generic/tkTable.c:1284:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:1325:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableEventProc(clientData, eventPtr) >^ >./generic/tkTable.c:1325:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:1967:51: warning: cast to 'char *' from smaller integer type > 'int' [-Wint-to-pointer-cast] > entryPtr = Tcl_CreateHashEntry(colTagsCache, (char *)ucol, &new); > ^~~~~~~~~~~~ >/usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' > (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) > ^~~ >./generic/tkTable.c:2659:10: warning: cast to smaller integer type 'int' from > 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] > count = (int) Tcl_GetHashValue(entryPtr); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./generic/tkTable.c:2671:33: warning: cast to 'ClientData' (aka 'void *') from > smaller integer type 'int' [-Wint-to-void-pointer-cast] > Tcl_SetHashValue(entryPtr, (ClientData) count); > ^~~~~~~~~~~~~~~~~~ >/usr/include/tcl.h:2550:69: note: expanded from macro 'Tcl_SetHashValue' >#define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) > ^~~~~ >./generic/tkTable.c:2716:5: warning: cast to 'ClientData' (aka 'void *') from > smaller integer type 'int' [-Wint-to-void-pointer-cast] > Tcl_SetHashValue(entryPtr, tablePtr->flashTime); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/tcl.h:2550:55: note: expanded from macro 'Tcl_SetHashValue' >#define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) > ^~~~~~~~~~~~~~~~~~~~ >./generic/tkTable.c:2810:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableVarProc(clientData, interp, name, index, flags) >^ >./generic/tkTable.c:2810:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:2943:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableGeometryRequest(tablePtr) >^ >./generic/tkTable.c:2981:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableAdjustActive(tablePtr) >^ >10 warnings generated. >./generic/tkTable.c:3115:52: warning: cast to 'char *' from smaller integer type > 'int' [-Wint-to-pointer-cast] > entryPtr = Tcl_FindHashEntry(tablePtr->colWidths, (char *) i); > ^~~~~~~~~~ >/usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' > (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) > ^~~ >./generic/tkTable.c:3121:14: warning: cast to smaller integer type 'int' from > 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] > value = (int) Tcl_GetHashValue(entryPtr); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./generic/tkTable.c:3209:57: warning: cast to 'char *' from smaller integer type > 'int' [-Wint-to-pointer-cast] > entryPtr = Tcl_FindHashEntry(tablePtr->rowHeights, (char *) i); > ^~~~~~~~~~ >/usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' > (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) > ^~~ >./generic/tkTable.c:3215:11: warning: cast to smaller integer type 'int' from > 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] > value = (int) Tcl_GetHashValue(entryPtr); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./generic/tkTable.c:3577:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableFetchSelection(clientData, offset, buffer, maxBytes) >^ >./generic/tkTable.c:3577:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >./generic/tkTable.c:3719:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableLostSelection(clientData) >^ >./generic/tkTable.c:3758:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableRestrictProc(serial, eventPtr) >^ >./generic/tkTable.c:3763:26: warning: cast to smaller integer type > 'unsigned int' from 'ClientData' (aka 'void *') > [-Wvoid-pointer-to-int-cast] > ((eventPtr->xany.serial-(unsigned int)serial) > 0)) { > ^~~~~~~~~~~~~~~~~~~~ >./generic/tkTable.c:3758:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableRestrictProc(serial, eventPtr) >^ >./generic/tkTable.c:3790:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >TableValidateChange(tablePtr, r, c, old, new, index) >^ >./generic/tkTable.c:3885:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >ExpandPercents(tablePtr, before, r, c, old, new, index, dsPtr, cmdType) >^ >./generic/tkTable.c:4008:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >Tktable_Init(interp) >^ >./generic/tkTable.c:4053:1: warning: a function definition without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >Tktable_SafeInit(interp) >^ >34 warnings and 6 errors generated. >make: *** [Makefile:304: tkTable.o] Error 1 > * ERROR: dev-tcltk/tktable-2.10::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-tcltk/tktable-2.10::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-tcltk/tktable-2.10::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-tcltk:tktable-2.10:20221111-115333.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-tcltk/tktable-2.10/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/tktable-2.10/temp/environment'. > * Working directory: '/var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10' > * S: '/var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 880963
:
831251
| 831253 |
831255
|
831257
|
831259
|
831261
|
831263
|
831265
|
831267