#3911 Declaration for Tcl_GetCommandFromObj is missing

obsolete: 8.4.17
closed-invalid
5
2008-01-24
2008-01-23
Anonymous
No

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

Discussion

  • Don Porter

    Don Porter - 2008-01-24

    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.

     
  • Don Porter

    Don Porter - 2008-01-24
    • labels: 105659 --> 21. [namespace]
    • assigned_to: dkf --> dgp
    • status: open --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks