mirror of
https://github.com/YosysHQ/yosys
synced 2026-01-10 04:49:01 +00:00
Fixes these build errors I'm getting locally with `tcl-devel-9.0.0-7.fc42.x86_64`.
I guess Tcl 9 broke this.
```
passes/cmds/sdc/sdc.cc:438:6: error: no matching function for call to 'Tcl_ListObjLength'
438 | if (Tcl_ListObjLength(interp, listObj, &listLength) == TCL_OK) {
| ^~~~~~~~~~~~~~~~~
/usr/include/tclDecls.h:1788:13: note: candidate function not viable: no known conversion from 'int *' to 'Tcl_Size *' (aka 'long *') for 3rd argument
1788 | EXTERN int Tcl_ListObjLength(Tcl_Interp *interp,
| ^
1789 | Tcl_Obj *listPtr, Tcl_Size *lengthPtr);
| ~~~~~~~~~~~~~~~~~~~
passes/cmds/sdc/sdc.cc:446:8: error: no matching function for call to 'Tcl_ListObjLength'
446 | if (Tcl_ListObjLength(interp, subListObj, &subListLength) == TCL_OK) {
| ^~~~~~~~~~~~~~~~~
/usr/include/tclDecls.h:1788:13: note: candidate function not viable: no known conversion from 'int *' to 'Tcl_Size *' (aka 'long *') for 3rd argument
1788 | EXTERN int Tcl_ListObjLength(Tcl_Interp *interp,
| ^
1789 | Tcl_Obj *listPtr, Tcl_Size *lengthPtr);
| ~~~~~~~~~~~~~~~~~~~
```
|
||
|---|---|---|
| .. | ||
| sdc | ||
| abstract.cc | ||
| add.cc | ||
| autoname.cc | ||
| blackbox.cc | ||
| box_derive.cc | ||
| bugpoint.cc | ||
| check.cc | ||
| chformal.cc | ||
| chtype.cc | ||
| clean_zerowidth.cc | ||
| connect.cc | ||
| connwrappers.cc | ||
| copy.cc | ||
| cover.cc | ||
| delete.cc | ||
| design.cc | ||
| dft_tag.cc | ||
| edgetypes.cc | ||
| example_dt.cc | ||
| exec.cc | ||
| future.cc | ||
| glift.cc | ||
| icell_liberty.cc | ||
| internal_stats.cc | ||
| linecoverage.cc | ||
| logcmd.cc | ||
| logger.cc | ||
| ltp.cc | ||
| Makefile.inc | ||
| plugin.cc | ||
| portarcs.cc | ||
| portlist.cc | ||
| printattrs.cc | ||
| rename.cc | ||
| scatter.cc | ||
| scc.cc | ||
| scratchpad.cc | ||
| select.cc | ||
| setattr.cc | ||
| setenv.cc | ||
| setundef.cc | ||
| show.cc | ||
| sort.cc | ||
| splice.cc | ||
| splitcells.cc | ||
| splitnets.cc | ||
| sta.cc | ||
| stat.cc | ||
| tee.cc | ||
| test_select.cc | ||
| timeest.cc | ||
| torder.cc | ||
| trace.cc | ||
| viz.cc | ||
| wrapcell.cc | ||
| write_file.cc | ||
| xprop.cc | ||