Artifacts Associated With Ticket 218129ffffffffff
Ticket change [180597e567] (rid 122597) by nobody on 2000-10-26 00:53:28:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1994 Bug Version: 8.1 SubmitDate: '1999-05-05' LastModified: '1999-12-03' Severity: CRIT Status: Closed Submitter: pat ChangedBy: hobbs OS: Other OSVersion: QNX 4.24 Machine: NA FixedDate: '2000-10-25' ClosedDate: '1999-12-03' Name: David Corlette CVS: tclBasic.c 1999/04/16 Comments: I'll probably just comment out the define of CONST, but I'm not sure if this is a good solution. So I thought I wouldn't pass on a diff, since I'm not sure what's the best solution. ReproducibleScript: compile under QNX 4.24, after generic .configure step ObservedBehavior: Compile crashes with error: /port/tcl/tcl8.1/unix/../generic/tclBasic.c(3406): Error! E1013: Constant variable cannot be modified DesiredBehavior: I'm unclear why you are declaring objv as a const in tclInt.h, and then attempting to modify objv in tclBasic.c (line 3406): objv = localObjv; As far as I know, you aren't supposed to modify consts! I do notice that you are toying with const a bit, using CONST and defines, but it's not clear to me why. This is an error on the part of the compiler not understanding how to handle const properly. The assignment is valid, as the array is const, but not the pointer to it. -- 12/03/1999 hobbs - foundin initialized to: "obsolete: 8.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "75. Tutorial"
- title initialized to: "Compile fails on improper use of const"
- type initialized to: "Bug"
Ticket change [08c885a068] (rid 89620) by welch on 2000-10-26 08:15:55:
- closedate changed to: "2000-10-26T01:15:55"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [8d59a15f45] (rid 127911) by dgp on 2001-04-05 06:54:29:
- closedate changed to: "2001-04-04T23:54:29"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"