Artifacts Associated With Ticket 218405
Ticket change [ca94efe2cf] (rid 95378) by nobody on 2000-10-26 00:57:11:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5322 Bug Version: 8.3 SubmitDate: '2000-05-02' LastModified: '2000-05-04' Severity: MED Status: Closed Submitter: techsupp ChangedBy: hobbs OS: All Unix OSVersion: Dec Ultra64 Unix 4.0F Machine: Dec Alpha Server 4000 FixedDate: '2000-10-25' ClosedDate: '2000-05-04' Name: Al Womelsdorf ReproducibleScript: Downloaded the latest Tcl8.3.1.tar.gz file from Scriptics Extracted to new directory tree cd Tcl8.3.1/unix ./configure make ObservedBehavior: Warnigs about mis-matched data types ocure for tclIOSock.c cc -c -O -I./../generic -I. -DHAVE_TZSET -std1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=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 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_FIONBIO=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/tclIOSock.c cc: Warning: ./../generic/tclIOSock.c, line 100: In this statement, the referenced type of the pointer value "&len" is "unsigned long", which is not compatible with "int". (ptrmismatch) getsockopt(sock, SOL_SOCKET, SO_SNDBUF, (char *)¤t, &len); --------------------------------------------------------------^ cc: Warning: ./../generic/tclIOSock.c, line 106: In this statement, the referenced type of the pointer value "&len" is "unsigned long", which is not compatible with "int". (ptrmismatch) getsockopt(sock, SOL_SOCKET, SO_RCVBUF, (char *)¤t, &len); --------------------------------------------------------------^ DesiredBehavior: I do not recall the previous version having any errors or warnings when compiling. These are insignificant casting warnings where size_t is used. It should be socklen_t, but not all systems have that. -- 05/04/2000 hobbs - foundin initialized to: "obsolete: 8.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "75. Tutorial"
- title initialized to:
Warnigs when compiling new Tcl8.3.1 release on Dec Ultra64 r
- type initialized to: "Bug"
Ticket change [b2f5c7b30b] (rid 98431) by welch on 2000-10-26 08:21:18:
- closedate changed to: "2000-10-26T01:21:18"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [fa3da94591] (rid 91835) by dgp on 2001-04-05 06:54:26:
- closedate changed to: "2001-04-04T23:54:26"
- closer changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"