Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ca94efe2cf5b4abb3fcf22c0ecab9412e8ee6046
Ticket: 218405ffffffffffffffffffffffffffffffffff
Warnigs when compiling new Tcl8.3.1 release on Dec Ultra64 r
User & Date: nobody on 2000-10-26 00:57:11
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 *)&current, &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 *)&current, &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
    
  4. foundin changed to: "obsolete: 8.3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "75. Tutorial"
  10. title changed to:
    Warnigs when compiling new Tcl8.3.1 release on Dec Ultra64 r
    
  11. type changed to: "Bug"