Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl_Eval macro references TCL_INDEX_NONE which is not always defined

Closed / Fixed60d86928234133769fda5f9dcadd9285e26b243eCreated 226 days agoUpdated 226 days ago
Descriptionplain2026-04-21 03:52:28
Attempting to build the core-9-0-branch with a full set of pkgs failed in sqlite when building it for Tcl 8:

/.../tcl-20260420203557-00d8be7610/pkgs/sqlite3.53.0/generic/tclsqlite3.c:732:8: error: 
      use of undeclared identifier 'TCL_INDEX_NONE'
  rc = Tcl_Eval(pDb->interp, pDb->zProgress);
       ^
In file included from /.../tcl-20260420203557-00d8be7610/pkgs/sqlite3.53.0/generic/tclsqlite3.c:47:
In file included from /.../tcl-20260420203557-00d8be7610/generic/tcl.h:2430:
/.../tcl-20260420203557-00d8be7610/generic/tclDecls.h:3967:29: note: instantiated from:
        Tcl_EvalEx(interp, objPtr, TCL_INDEX_NONE, 0)
                                   ^
Referenced by1
jan.nijtmanswiki2026-04-21 07:25:09

Fixed [here]

Hope everything is OK now for pre-c11 compilers

jmrootplain2026-04-21 08:32:11
Thank you, all now builds successfully.
Log in (anonymous is fine) to add a comment.