3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-25 06:59:33 +00:00
yosys/passes/cmds
Robert O'Callahan 53614a37a1 Use Tcl_Size instead of int to fix build errors
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);
      |                                                   ~~~~~~~~~~~~~~~~~~~
```
2025-11-24 18:46:56 +13:00
..
sdc Use Tcl_Size instead of int to fix build errors 2025-11-24 18:46:56 +13:00
abstract.cc Remove .c_str() from parameters to log_debug() 2025-09-23 19:10:33 +12:00
add.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
autoname.cc autoname.cc: Return number of renames 2025-09-26 11:05:50 +12:00
blackbox.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
box_derive.cc box_derive: rename -apply to -apply_derived_type 2025-10-13 17:24:32 +02:00
bugpoint.cc Add sys/wait.h header to bugpoint to bring in constants. 2025-10-20 19:50:18 -04:00
check.cc Merge pull request #5357 from rocallahan/builtin-ff 2025-09-17 11:37:16 +02:00
chformal.cc Reapply "Add groups to command reference" 2025-08-06 13:52:12 +12:00
chtype.cc chtype: replace publish pass with chtype -publish_icells 2025-10-14 15:01:48 +02:00
clean_zerowidth.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00:00
connect.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
connwrappers.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
copy.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
cover.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
delete.cc rtlil: Make Process handling more uniform with Cell and Wire. 2021-07-12 00:47:34 +02:00
design.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
dft_tag.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00:00
edgetypes.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
example_dt.cc Add IdString const &id_string() const to StaticIdString and IdString 2025-09-09 09:56:55 +12:00
exec.cc Remove .c_str() calls from parameters to log_header() 2025-09-16 23:00:42 +00:00
future.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00:00
glift.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
icell_liberty.cc icell_liberty: simplify 2025-11-19 15:20:50 +01:00
internal_stats.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
linecoverage.cc Remove .c_str() from parameters to log_debug() 2025-09-23 19:10:33 +12:00
logcmd.cc Remove .c_str() calls from parameters to log_header() 2025-09-16 23:00:42 +00:00
logger.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
ltp.cc Reapply "Add groups to command reference" 2025-08-06 13:52:12 +12:00
Makefile.inc Merge branch 'main' into emil/sdc_expand 2025-11-19 16:29:37 +01:00
plugin.cc fix dlopen using fs:path with mingw 2025-10-16 08:30:43 +02:00
portarcs.cc abc_new: Avoid bufnorm helper cell churn 2025-10-07 18:05:28 +02:00
portlist.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
printattrs.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
rename.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
scatter.cc Fixing old e-mail addresses and deadnames 2021-06-08 00:39:36 +02:00
scc.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
scratchpad.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
select.cc Remove .c_str() calls from parameters to log_warning()/log_warning_noprefix() 2025-09-16 23:02:16 +00:00
setattr.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
setenv.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
setundef.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00:00
show.cc Make SigSpec::chunks() return an object that can be iterated over without packing the SigSpec 2025-11-07 15:54:54 +00:00
sort.cc sort: init 2025-10-13 17:32:26 +02:00
splice.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
splitcells.cc splitcells: change for-loop condition 2025-02-28 23:16:04 +02:00
splitnets.cc Update passes/cmds to avoid bits() 2025-09-16 03:17:23 +00:00
sta.cc Reapply "Add groups to command reference" 2025-08-06 13:52:12 +12:00
stat.cc Remove .c_str() calls from parameters to log_warning()/log_warning_noprefix() 2025-09-16 23:02:16 +00:00
tee.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
test_select.cc test_select: Add and exercise test_select pass 2025-04-08 11:59:45 +12:00
timeest.cc timeest: Add top ports launching/sampling 2025-11-03 14:21:28 +01:00
torder.cc Reapply "Add groups to command reference" 2025-08-06 13:52:12 +12:00
trace.cc Reapply "Add groups to command reference" 2025-08-06 13:52:12 +12:00
viz.cc Remove .c_str() from log_cmd_error() and log_file_error() parameters 2025-09-16 22:59:08 +00:00
wrapcell.cc Remove .c_str() calls from log()/log_error() 2025-09-11 20:59:37 +00:00
write_file.cc Reapply "Add groups to command reference" 2025-08-06 13:52:12 +12:00
xprop.cc Instead of using builtin_ff_cell_types() directly, go through a method Cell::is_builtin_ff() 2025-09-17 03:24:19 +00:00