Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
06:52 • Ticket [218975ffff] Tcl compile fails on Sol2.7 with WS5.0 C++ (unix/tclMtherr.c... artifact: 72e4788387 user: dgp
2000-10-26
08:32 • Closed ticket [218975ffff]. artifact: 4ee0c056ef user: welch
01:08 • New ticket [218975ffff]. artifact: 0ac4bd13e2 user: nobody

Tcl compile fails on Sol2.7 with WS5.0 C++ (unix/tclMtherr.c

Closed / Fixed218975ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:08:51
OriginalBugID: 3390 Bug
Version: 8.2.1
SubmitDate: '1999-11-05'
LastModified: '2000-03-02'
Severity: CRIT
Status: Released
Submitter: techsupp
ChangedBy: hobbs
RelatedBugIDs: 1539 713
OS: Solaris
OSVersion: 2.7
FixedDate: '2000-03-02'
ClosedDate: '2000-10-25'


Name:
George Swanson

Comments:
Compiled files extracted from tcl8.2.1.tar.gz

ReproducibleScript:
cc -c -O  -KPIC  -I./../generic -I.  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
    -DUSEGETWD=1 -DNO_STRERROR=1 -DNO_GETWD=1 -DNO_WAIT3=1 -DNO_UNAME=1
    -DNO_REALPATH=1 -DNO_DIRENT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
    -DHAVE_SYS_SELECT_H=1 -DTM_IN_SYS_TIME=1 -DHAVE_SYS_TIME_H=1
    -DNO_FSTATFS=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1 -DUSE_DIRENT2_H=1
    -DNO_UNION_WAIT=1 -DRETSIGTYPE=int -Dvfork=fork -DNO_GETTOD=1
    -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
    -DTCL_SHLIB_EXT=\".so\" ./../unix/tclMtherr.c
    
    [1]    Exit 1               make >& make.out
    "./../unix/tclMtherr.c", line 38: (struct) tag redeclared: exception
    "./../unix/tclMtherr.c", line 41: warning: macro redefined: DOMAIN
    "./../unix/tclMtherr.c", line 42: warning: macro redefined: SING
    "./../unix/tclMtherr.c", line 67: warning: Prototype mismatch in arg 1
    for function matherr:
    
                            function : old style declaration pointer to
    struct exception {int type}
    
                            prototype: pointer to struct exception {int
    type, pointer to char name, double arg1, double arg2, double retval}
    cc: acomp failed for ./../unix/tclMtherr.c
    *** Error code 2
    make: Fatal error: Command failed for target `tclMtherr.o'

DesiredBehavior:
successful compile.



Also occurs for Linux PPC. 
-- 12/14/1999 hobbs
For 8.2.3, WSPro5.0 on Sol7 does not cause this error.
Still need to check LinuxPPC. 
-- 02/07/2000 hobbs
Report from Steve Ball that Linux/PPC builds just fine as well. 
-- 03/02/2000 hobbs
welch Closed ticket [218975ffff]. [History diff]2000-10-26 08:32:16
dgp Ticket [218975ffff]: 3 changes [History diff]2001-04-05 06:52:48
Log in (anonymous is fine) to add a comment.