Overview
| Artifact ID: | 0513ad305ff1a266afb28090c2ea55a69b78d787 |
|---|---|
| Ticket: | 217904ffffffffffffffffffffffffffffffffff
Please use 'const char*' in Tcl_CreateCommand |
| User & Date: | nobody on 2000-10-26 00:45:42 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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.") - foundin changed to: "final: 8.0.5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "75. Tutorial"
- title changed to: "Please use "const char*" in Tcl_CreateCommand"
- type changed to: "Bug"