Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2000-10-26
08:26 • Closed ticket [218647ffff]: ANSI feature used in tclCmdIL.c plus 4 other cha... artifact: 46ae91772d user: welch
01:03 • New ticket [218647ffff]. artifact: 1efb99513c user: nobody

ANSI feature used in tclCmdIL.c

Closed / Fixed218647ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:03:39
OriginalBugID: 1584 Bug
Version: 8.1b2
SubmitDate: '1999-03-22'
LastModified: '1999-03-24'
Severity: LOW
Status: Released
Submitter: pat
ChangedBy: redman
RelatedBugIDs: 1572  1598
OS: HP-UX
Machine: Other
FixedDate: '1999-03-24'
ClosedDate: '2000-10-25'


Name:
Ulrich Ring

ReproducibleScript:
    cd tcl8.1b2/unix
    ./configure
    make
    



ObservedBehavior:
    cc can't compile generic/tclCmdIL.c
    cc: "../generic/tclCmdIL.c", line 2815: error 1716: Automatic aggregate
    initialization is an ANSI feature.
    



DesiredBehavior:
    successful compilation
    



Patch:
2815c2815
<       Tcl_Obj **objv, *paramObjv[2] = {objPtr1, objPtr2};
---
>       Tcl_Obj **objv, *paramObjv[2];
2816a2817,2818
>       paramObjv[0] = objPtr1;
>       paramObjv[1] = objPtr2;



PatchFiles:
    tclCmdIL.c
    




Related bug IDs 1572 & 1598
03/24/1999 14:55 - surles -
Fixed 03/24/1999 16:38 - redman -
welch Closed ticket [218647ffff]. [History diff]2000-10-26 08:26:10
Log in (anonymous is fine) to add a comment.