Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 929fe5496904dbf015907db0106a49d006c263e8
Ticket: 745844ffffffffffffffffffffffffffffffffff
warnings on FreeBSD 4.8-STABLE
User & Date: mistachkin on 2003-05-30 00:39:18
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    First, when compiling with threads, the following 
    compiler warning repeatedly appears:
    
    ../generic/../unix/tclUnixPort.h:571: warning: 
    `inet_ntoa' redefined
    /usr/include/arpa/inet.h:78: warning: this is the 
    location of the previous definition
    
    This is really bad because this warning shows up 
    for nearly every file compiled on FreeBSD with 
    threads enabled.
    
    To fix this one line is needed in tclUnixPort.h, near 
    line 571:
    
    #undef inet_ntoa
    
    Right before:
    
    #define inet_ntoa(x)    TclpInetNtoa(x)
    
    Here is another interesting warning:
    
    ./../unix/tclUnixInit.c: In function 
    `TclpInitPlatform':
    ./../unix/tclUnixInit.c:188: warning: value 
    computed is not used
    
    And there are some more warnings in 
    tclUnixFCmd.c:
    
    ./../unix/tclUnixFCmd.c: In function `DoCopyFile':
    ./../unix/tclUnixFCmd.c:424: warning: passing arg 
    2 of `mknod' with different width due to prototype
    ./../unix/tclUnixFCmd.c:430: warning: passing arg 
    2 of `mkfifo' with different width due to prototype
    ./../unix/tclUnixFCmd.c: In function 
    `DoCreateDirectory':
    ./../unix/tclUnixFCmd.c:611: warning: passing arg 
    1 of `umask' with different width due to prototype
    ./../unix/tclUnixFCmd.c:612: warning: passing arg 
    1 of `umask' with different width due to prototype
    ./../unix/tclUnixFCmd.c:620: warning: passing arg 
    2 of `mkdir' with different width due to prototype
    ./../unix/tclUnixFCmd.c: In function 
    `DoRemoveDirectory':
    ./../unix/tclUnixFCmd.c:759: warning: passing arg 
    2 of `chmod' with different width due to prototype
    ./../unix/tclUnixFCmd.c:788: warning: passing arg 
    2 of `chmod' with different width due to prototype
    ./../unix/tclUnixFCmd.c: In function `CopyFileAtts':
    ./../unix/tclUnixFCmd.c:1095: warning: passing 
    arg 2 of `chmod' with different width due to 
    prototype
    ./../unix/tclUnixFCmd.c:1097: warning: passing 
    arg 2 of `chmod' with different width due to 
    prototype
    ./../unix/tclUnixFCmd.c: In function 
    `SetPermissionsAttribute':
    ./../unix/tclUnixFCmd.c:1448: warning: passing 
    arg 2 of `chmod' with different width due to 
    prototype
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mistachkin"
  9. subsystem changed to: "52. Portability Support"
  10. title changed to: "warnings on FreeBSD 4.8-STABLE"
  11. type changed to: "Bug"