-
The solution is: stat.h is included too late, i.e. after tclDecls.h.
To prove my statement, I added
#include
just before
#include "tclInt.h"
in tclIOUtil.c - and the file compiles.
2008-11-10 08:04:11 UTC in Tcl
-
The error is really strange. Previously I compiled Tcl 8.5.1 without this problem.
The compiler is called with the define _LARGE_FILES and stat is in stat.h
defined like this:
#ifdef _LARGE_FILES
#define stat stat64
/* cutted */
#endif /* _LARGE_FILES */
So my first guess was, that somewhere stat is undefined (#undef stat), but grep doesn't reveal such a case.
2008-11-10 07:57:45 UTC in Tcl
-
The following compile error occurs on AIX for tcl-8.5.5:
...
checking for struct dirent64... no
checking for struct stat64... yes
checking for struct stat.st_blksize... yes
checking for fstatfs... yes
...
/usr/vac/bin/cc -c -O -O -D_LARGE_FILES -I/T/tcl_tk/8.5.5/binaries/ibmaix5/include -I"." -I/projekte/backup/tcl_tk/8.5.5/build/ibmaix5/tcl/tcl8.5.5/unix/../unix...
2008-11-07 11:50:16 UTC in Tcl
-
On SunOS in a system header file a symbol
DUMP_ALLOC is defined. In generic/tkTreeDisplay.c
there is a second definition with an enum.
Quick solution: add
#undef DUMP_ALLOC
just before the enum declaration.
Thanks.
2008-11-07 11:41:45 UTC in TkTreeCtrl
-
File Added: MainEx-8.5.5.patch.
2008-11-06 13:20:06 UTC in Tcl
-
This bug is a duplicate of #1915466. So I close it.
2008-10-16 08:49:00 UTC in TkTreeCtrl
-
I just saw the cvs comment: the patch was from me (Christoph Bauer) ;-)
Sorry for posting it as nobody and thanks for applying it!
2008-10-09 07:46:37 UTC in TkTreeCtrl
-
Update for the last comment: maybe this problem is not related to the orignal one,
because now I can reproduce it on a single core machine and under linux.
a.tcl:
exec wish b.tcl
# exec never returns, but b.tcl calls "exit"
tk_messageBox -message return
b.tcl:
exec wish d.tcl &
tk_messageBox -message exit
# message exit appears
if { [catch exit err] } {
# you could also...
2008-05-23 09:52:30 UTC in Tcl
-
Please, can you look in the patch. Its quite trivial. Some options in the Tcl-Code
are shuffed: -message -icon warning ...
It's a good candidate for 8.5a3!
2007-11-15 16:23:21 UTC in Tk Toolkit
-
Here is a patch
File Added: tkfbox.tcl.patch.
2007-10-29 12:44:27 UTC in Tk Toolkit