* Paul Obermeier <***@poSoft.de>
| Am 22.01.2025 um 11:12 schrieb Harald Oehlmann:
| > Am 22.01.2025 um 11:03 schrieb Ralf Fassel:
| >> According to
| >>
| >> https://wiki.tcl-lang.org/page/Porting+extensions+to+Tcl+9
| >>
| >> Paul has ported vectcl 0.2.1 to tcl 9. Maybe check that version?
| >>
| >> HTH
| >> R'
| > Yes, great ! Could you check, if Paul has integrated the
| > enhancements by Brian Griffin? IMHO this is quite important an
| > boosts VecTCL on Tcl9.
| > IMHO, VecTcl will work much better with Tcl9 than Tcl8, as numbers are passed as is.
| > I can moderate this and send an E-Mail to Paul and Brian (cc: magic Christian).
| > Thanks,
| > Harald
| I made changes (Tcl_size, etc.) to the original version 0.2, so that it compiles with Tcl9.
| But the generated library throws errors, so it is marked as NoTcl9 in the latest BAWT release.
I recompiled vectcl 0.2.1 as provided by Paul against tcl 9.0 and tcl 8.6.15.
'make test' in vectcl fails in many cases with tcl9, where the same
tests succeed in 8.6.15.
package require vectcl
=> 0.2.1
numarray concat {{1.0 2.0} {3.0 4.0}} 5.0 0
tcl 8 => {1.0 2.0} {3.0 4.0} {5.0 5.0}
tcl 9 => error: expected integer but got "1.0 2.0"
| As I do not use vectcl personally, I did not invest more work to get it running with Tcl9.
A quick glance on the test failures does not offer anything obvious - the
test failures mostly derive from internal vectcl parsing errors (see
example above). So someone with deeper knowledge of vectcl is required here.
HTH
R'