[Pkg-tcltk-devel] Bug#1060702: Bug#1060702: tcl-itcl4-dev: incr Tcl programs do not compile with tcl8.7-dev
Sergei Golovan
sgolovan at gmail.com
Sat Jan 13 14:34:13 GMT 2024
Hi Rafael,
On Sat, Jan 13, 2024 at 11:09 AM Rafael Laboissière <rafael at debian.org> wrote:
> With the versions of tcl-itcl4-dev (4.2.3-1) and tcl8.7-dev
> (8.7.0~a5+dfsg-3) currently in experimental, this simple example does
> not work:
>
> $ echo "#include <itcl/itcl.h>" > test.c
> $ gcc -c test.c -I/usr/include/tcl
> In file included from test.c:1:
> /usr/include/itcl/itcl.h:144:5: error: unknown type name 'Tcl_Size'
> 144 | Tcl_Size len; /* number of values on stack */
> | ^~~~~~~~
> /usr/include/itcl/itcl.h:145:5: error: unknown type name 'Tcl_Size'
> 145 | Tcl_Size max; /* maximum size of stack */
> | ^~~~~~~~
> /usr/include/itcl/itcl.h:164:5: error: unknown type name 'Tcl_Size'
> 164 | Tcl_Size num; /* number of elements */
> | ^~~~~~~~
>
> It does work in unstable.
Thank you for the report and for the patch!
>
> Currently, in experimental, tcl-dev depends on tcl8.7-dev. If this
> packages migrate into unstable, then tcl-itcl4-dev will be broken in a
> serious way. Hence, I am am hereby setting the severity level to
> important.
Indeed, tcl-dev depends on tcl8.8-dev in experimental in order to spot
this type of bugs. Eventually, Tcl/Tk 8.7 will be released, and then
we'll do a big transition of all the Tcl/Tk related packages from 8.6
to 8.7. Your patch will definitely help with it.
Cheers!
--
Sergei Golovan
More information about the Pkg-tcltk-devel
mailing list