Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-08-23
08:26 • Closed ticket [8c400d105f]: Build broken on 9.0 branch plus 5 other changes artifact: 18992065d0 user: dkf
2025-08-22
19:29 • Ticket [8c400d105f]: 3 changes artifact: c7c694276a user: jan.nijtmans
18:24 • Ticket [8c400d105f]: 3 changes artifact: b44c5f9df1 user: dgp
18:24 • New ticket [8c400d105f]. artifact: 74c23dc1a4 user: dgp

Build broken on 9.0 branch

Closed8c400d105fdb3808559ad0203f6354f9fd1a3b59Created 1 year agoUpdated 1 year ago
Descriptionplain2025-08-22 18:24:02
The 9.0 branch doesn't compile.  The tclOO.c file has some lines
copied from the trunk that don't account for a change in the interface.

It's puzzling why multiple checkins would be committed that do not compile.


/home/dgp/fossil/tcl9.0/generic/tclOO.c: In function ‘InitFoundation’:
/home/dgp/fossil/tcl9.0/generic/tclOO.c:441:5: error: too many arguments to function ‘CreateCmdInNS’
  441 |     CreateCmdInNS(interp, fPtr->helpersNs, "callback",
      |     ^~~~~~~~~~~~~
/home/dgp/fossil/tcl9.0/generic/tclOO.c:303:1: note: declared here
  303 | CreateCmdInNS(
      | ^~~~~~~~~~~~~
/home/dgp/fossil/tcl9.0/generic/tclOO.c:443:5: error: too many arguments to function ‘CreateCmdInNS’
  443 |     CreateCmdInNS(interp, fPtr->helpersNs, "mymethod",
      |     ^~~~~~~~~~~~~
/home/dgp/fossil/tcl9.0/generic/tclOO.c:303:1: note: declared here
  303 | CreateCmdInNS(
      | ^~~~~~~~~~~~~
/home/dgp/fossil/tcl9.0/generic/tclOO.c:445:5: error: too many arguments to function ‘CreateCmdInNS’
  445 |     CreateCmdInNS(interp, fPtr->helpersNs, "classvariable",
      |     ^~~~~~~~~~~~~
/home/dgp/fossil/tcl9.0/generic/tclOO.c:303:1: note: declared here
  303 | CreateCmdInNS(
      | ^~~~~~~~~~~~~
/home/dgp/fossil/tcl9.0/generic/tclOO.c:457:5: error: too many arguments to function ‘CreateCmdInNS’
  457 |     CreateCmdInNS(interp, fPtr->ooNs, "DelegateName", TclOODelegateNameObjCmd, NULL, NULL, 0);
      |     ^~~~~~~~~~~~~
/home/dgp/fossil/tcl9.0/generic/tclOO.c:303:1: note: declared here
  303 | CreateCmdInNS(
      | ^~~~~~~~~~~~~
dgp Ticket [8c400d105f]: 3 changes [History diff]2025-08-22 18:24:14
jan.nijtmanswiki2025-08-22 19:29:12

My guess is that those commits were meant for branch "oo-accelerate-90", but accidently committed to core-9-0-branch directly. @dkf, am I right?

dkfplain2025-08-23 08:26:08
Yes; I messed up the branch creation and then got interrupted by family mid-cleanup. All fixed now.
Log in (anonymous is fine) to add a comment.