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

obsolete: 8.2.1
closed-fixed
nobody
2
2001-04-04
2000-10-26
Anonymous
No

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

Discussion

  • Brent B. Welch

    Brent B. Welch - 2000-10-26
    • priority: 5 --> 2
    • status: open --> closed-fixed
     
  • Don Porter

    Don Porter - 2001-04-04
    • labels: 104235 --> 53. Configuration and Build Tools
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks