Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0513ad305ff1a266afb28090c2ea55a69b78d787
Ticket: 217904ffffffffffffffffffffffffffffffffff
Please use 'const char*' in Tcl_CreateCommand
User & Date: nobody on 2000-10-26 00:45:42
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2580 RFE
    Version: 8.0.5
    SubmitDate: '1999-08-18'
    LastModified: '2000-05-17'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    RelatedBugIDs: 1162
    OS: Solaris
    OSVersion: Solaris 2.7 (
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '2000-05-17'
    
    
    Name:
    Charles P. Peterson
    
    Comments:
    I looked at your latest beta, and you still haven't done this.
    
    DesiredBehavior:
    String constant "const"-ness is now required by ANSI/ISO C++ and
        compilers such
        as Sun's latest SUNPRO C++ 5.0 are starting to enforce this rule.
        
        Please declare all unmodified string arguments as "const char*" (which
        is valid in both C++ and ANSI C).  As it currently stands, I have to
        cheat with casts to work around this when calling (for example)
        Tcl_CreateCommand from C++.
        
        (Note: when you start doing this be prepared to do it all at once or
        suffer from
        "const poisoning.")
    
    
    
    
    
  4. foundin changed to: "final: 8.0.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "75. Tutorial"
  10. title changed to: "Please use "const char*" in Tcl_CreateCommand"
  11. type changed to: "Bug"