Skip to content
Tcl Source Code View Ticket
Login

View Ticket

can't compile tcl 8.0.3 under (Mk) Linux: xPtr (struct excep

Closed / Duplicate217781ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:43:33
OriginalBugID: 713 Bug
Version: 8.0.3
SubmitDate: '1998-10-13'
LastModified: '1999-12-14'
Severity: MED
Status: Closed
Submitter: admin
ChangedBy: hobbs
RelatedBugIDs: 3390 1539
OS: Macintosh
OSVersion: NA
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: NA
ClosedDate: '1999-12-14'


Problem compiling tcl8.0.3 under (Mk)Linux

MkLinux on the Power Macintosh, running the 2.0.3x kernel.

As of Tcl 8.0.3, I get an error on line 75 in tclMtherr.c saying that
xPtr (struct exception *) is the wrong type.  

./tclMtherr.c: In function `matherr':
./tclMtherr.c:76: argument `xPtr' doesn't match prototype

work-around:  change line 75 of tclMtherr.c:

old line 75:     struct exception *xPtr;     /* Describes error that occurred. */

new line 75:     struct __exception *xPtr;     /* Describes error that occurred. */

Tcl then compiles without further errors and seems to work.  Granted, I have
not tried to create a floating poing error to test that portion of the code.

-- Mike



 
-- 12/14/1999 hobbs
welch Closed ticket [217781ffff]. [History diff]2000-10-26 07:49:17
dgp Ticket [217781ffff]: 3 changes [History diff]2001-04-05 06:55:07
Log in (anonymous is fine) to add a comment.