Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2000-10-26
08:12 • Closed ticket [218021ffff]: Tcl_DbCk* have the wrong types plus 4 other chan... artifact: 907740f51b user: welch
00:52 • New ticket [218021ffff]. artifact: 573c409c3e user: nobody

Tcl_DbCk* have the wrong types

Closed / Fixed218021ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:16
OriginalBugID: 1145 Bug
Version: 8.1b1
SubmitDate: '1999-02-02'
LastModified: '2000-04-03'
Severity: LOW
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: Linux-Red Hat
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '2000-04-03'


Name:
Martin Foressen

CVS:
Jan 25 22:39:18 MET 1999

ObservedBehavior:
If you compile a program with TCL_MEM_DEBUG you will get lots of warnings
about incompatible pointers when calling the ckfree, ckalloc etc al functions.
This may generate LOTS of warnings in which the real errors in the code
could slip by.



DesiredBehavior:
I expected these functions to be type compatible with the system functions
and use void* instead of char* as the type of pointers.




The proposed solution of using void* is not a portable solution according to Stanton.  At most we could probably do some minor tweaks to reduce the number of warnings.
03/23/1999 18:06 - surles -

exactly what kind of system setup is causing these warnings?
I don't see this with Tcl8.3 and gcc2.95 on Linux RH 6.0.
Perhaps this was cleaned up already along the way... 
-- 04/03/2000 hobbs
welch Closed ticket [218021ffff]. [History diff]2000-10-26 08:12:12
Log in (anonymous is fine) to add a comment.