Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-01-24
11:00 • Closed ticket [1878556fff]: Declaration for Tcl_GetCommandFromObj is missing... artifact: a0a174b889 user: dgp
2008-01-23
23:06 • New ticket [1878556fff]. artifact: ecd42398d7 user: nobody

Declaration for Tcl_GetCommandFromObj is missing

Closed / Invalid1878556fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-01-23 23:06:42
The declaration for the Tcl_GetCommandFromObj is missing from the header files.

I am compiling to use stubs, have included the tcl.h header file in my source, and have -DUSE_TCL_STUBS on the  compilation command.

Output:

icc -O3 -Wall -wd869 -xN -fPIC -DUSE_TCL_STUBS -I/home/partin/RLM-v4.0/BL4/src -I/opt/ActiveTcl-8.4/include   -c -o TclRLM.o TclRLM.c
TclRLM.c(30): warning #266: function "Tcl_GetCommandFromObj" declared implicitly
  Tcl_DeleteCommandFromToken(interp, Tcl_GetCommandFromObj(interp, objv[1]));
                                     ^

TclRLM.c(30): warning #167: argument of type "int" is incompatible with parameter of type "Tcl_Command"
  Tcl_DeleteCommandFromToken(interp, Tcl_GetCommandFromObj(interp, objv[1]));

Environment:

Ubuntu 7.10 (fully patched)
Kernel 2.6.22-14-generic
ActiveTcl 8.4.17
dgpplain2008-01-24 11:00:39
Logged In: YES 
user_id=80530
Originator: NO


Tcl_GetCommandFromObj()
is not part of the public
interface of Tcl 8.4.  You
need Tcl 8.5.

See TIP 139.
Log in (anonymous is fine) to add a comment.