compile problem on sunos4.1.3_u1
Closed / Fixed218740ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:47
OriginalBugID: 1962 Bug
Version: 8.1
SubmitDate: '1999-04-30'
LastModified: '1999-10-21'
Severity: LOW
Status: Released
Submitter: pat
ChangedBy: hobbs
RelatedBugIDs: 2007 2575
OS: SunOS
OSVersion: 4.1.3_U1
Machine: Sparc
FixedDate: '1999-10-21'
ClosedDate: '2000-10-25'
Name:
Will Partain
ReproducibleScript:
size_t doesn't end up defined in time for its use; I don't think the
problem
was there for 8.1a4 or so.
Will
+ cd unix
+ make all
gcc -pipe -c -O -Wall -Wconversion -fPIC -I./../generic -I.
-DHAVE_GETCWD=1 -DNO_STRERROR=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DNO_MEMMOVE=1 -DNO_STRING_H=1
-DNEED_MATHERR=1 -DRETSIGTYPE=void -DGETTOD_NOT_DECLARED=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
-DUSE_FIONBIO=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/regcomp.c
In file included from ../generic/tcl.h:1521,
from ../generic/tclInt.h:33,
from ../generic/regcustom.h:2,
from ../generic/regguts.h:12,
from ./../generic/regcomp.c:6:
../generic/tclDecls.h:1073: parse error before `size_t'
../generic/tclDecls.h:1514: parse error before `size_t'
./../generic/regcomp.c: In function `TclReComp':
./../generic/regcomp.c:365: warning: implicit declaration of function
`fprintf'
./../generic/regcomp.c: In function `dovec':
./../generic/regcomp.c:1558: warning: passing arg 1 of `free' from
incompatible pointer type
./../generic/regcomp.c: In function `dumpst':
./../generic/regcomp.c:2066: warning: implicit declaration of function
`fflush'
This was fixed in 8.2b2, where a missing
#include <sys/types.h>
in tclDecls.h was added.
-- 10/21/1999 hobbs
welch Closed ticket [218740ffff].
[History diff]2000-10-26 08:28:12
dgp Ticket [218740ffff]: 3 changes
[History diff]2001-04-18 06:45:28
Log in (anonymous is fine) to add a comment.