Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2000-10-26
08:30 • Closed ticket [218853ffff]: ANSI prototypes in Tcl source plus 4 other chang... artifact: f85844ce55 user: welch
01:06 • New ticket [218853ffff]. artifact: 0e4d895796 user: nobody

ANSI prototypes in Tcl source

Closed / Fixed218853ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:06:40
OriginalBugID: 2391 Bug
Version: 8.2b1
SubmitDate: '1999-07-19'
LastModified: '1999-07-22'
Severity: LOW
Status: Released
Submitter: techsupp
ChangedBy: redman
OS: HP-UX
Machine: Other
FixedDate: '1999-07-22'
FixedInVersion: 8.2b2
ClosedDate: '2000-10-25'


Name:
Ulrich Ring

ReproducibleScript:
configure + make on HP's native compiler

ObservedBehavior:
cc complains about ANSI'isms (function prtotyping)
    in generic/tclCmdMZ.c and generic/tclIO.c

DesiredBehavior:
configured make should succeed.
    Even with HP's cc :-)

Patch:
-----------------------------------------------------------------------

diff generic/tclCmdMZ.c.new generic/tclCmdMZ.c.old
1092c1092
<       int (*chcomp)_ANSI_ARGS_((int)) = NULL; /* The UniChar comparison function */
---
>       int (*chcomp)(int) = NULL; /* The UniChar comparison function */

-----------------------------------------------------------------------

diff generic/tclIO.c.new generic/tclIO.c.old
1818,1819c1818
< Tcl_GetChannelMode(chan)
<     Tcl_Channel chan;
---
> Tcl_GetStackedChannel(Tcl_Channel chan)
~

PatchFiles:
see above.



Fixed, applied patch.
 
-- 07/22/1999 redman
welch Closed ticket [218853ffff]. [History diff]2000-10-26 08:30:14
Log in (anonymous is fine) to add a comment.