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.
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.
The patch attached to this bug report seems to fix the problem.
Best,
Rafael