Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 937c26d60a45618a6735fde9197a05f6245283ab
Ticket: 992529ffffffffffffffffffffffffffffffffff
warnings on FreeBSD 4.10-STABLE
User & Date: mistachkin on 2004-07-16 19:42:13
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    The following prototypes need to be wrapped in the
    "#ifndef DIRECT_BAUD" define (just as the actual
    functions themselves are):
    
    static intTtyGetBaud _ANSI_ARGS_((unsigned long speed));
    static unsigned longTtyGetSpeed _ANSI_ARGS_((int baud));
    
    gcc -pipe -c -O -DTCL_DBGX=  -DTCL_UNLOAD_DLLS=1 -Wall
    -Wconversion -Wno-implicit-int -fPIC  -I./../generic
    -I./../unix -I.  -DPACKAGE_NAME=\"\"
    -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
    -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
    -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
    -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
    -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
    -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1
    -DHAVE_LIMITS_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\"
    -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1
    -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1
    -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1
    -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
    -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1
    -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
    -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
    -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1
    -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1
    -DHAVE_TM_GMTOFF=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1
    -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGNED_CHAR=1
    -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1
    -DHAVE_CHFLAGS=1 -DHAVE_SYS_IOCTL_H=1
    -DHAVE_SYS_FILIO_H=1          -DTCL_SHLIB_EXT=\".so\"
    ./../unix/tclUnixChan.c
    ./../unix/tclUnixChan.c:277: warning: `TtyGetBaud'
    declared `static' but never defined
    ./../unix/tclUnixChan.c:281: warning: `TtyGetSpeed'
    declared `static' but never defined
    
    I believe these warnings may stem from 32/64-bit
    differences in the APIs in question.
    
    gcc -pipe -c -O -DTCL_DBGX=  -DTCL_UNLOAD_DLLS=1 -Wall
    -Wconversion -Wno-implicit-int -fPIC  -I./../generic
    -I./../unix -I.  -DPACKAGE_NAME=\"\"
    -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
    -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
    -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
    -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
    -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
    -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1
    -DHAVE_LIMITS_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\"
    -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1
    -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_GETCWD=1
    -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1
    -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1
    -DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1
    -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
    -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
    -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1
    -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1
    -DHAVE_TM_GMTOFF=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1
    -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGNED_CHAR=1
    -DHAVE_PUTENV_THAT_COPIES=1 -DHAVE_LANGINFO=1
    -DHAVE_CHFLAGS=1 -DHAVE_SYS_IOCTL_H=1
    -DHAVE_SYS_FILIO_H=1          -DTCL_SHLIB_EXT=\".so\"
    ./../unix/tclUnixFCmd.c
    ./../unix/tclUnixFCmd.c: In function `DoCopyFile':
    ./../unix/tclUnixFCmd.c:434: warning: passing arg 2 of
    `mknod' with different width due to prototype
    ./../unix/tclUnixFCmd.c:440: warning: passing arg 2 of
    `mkfifo' with different width due to prototype
    ./../unix/tclUnixFCmd.c: In function `DoCreateDirectory':
    ./../unix/tclUnixFCmd.c:627: warning: passing arg 1 of
    `umask' with different width due to prototype
    ./../unix/tclUnixFCmd.c:628: warning: passing arg 1 of
    `umask' with different width due to prototype
    ./../unix/tclUnixFCmd.c:636: warning: passing arg 2 of
    `mkdir' with different width due to prototype
    ./../unix/tclUnixFCmd.c: In function `DoRemoveDirectory':
    ./../unix/tclUnixFCmd.c:789: warning: passing arg 2 of
    `chmod' with different width due to prototype
    ./../unix/tclUnixFCmd.c:818: warning: passing arg 2 of
    `chmod' with different width due to prototype
    ./../unix/tclUnixFCmd.c: In function `CopyFileAtts':
    ./../unix/tclUnixFCmd.c:1125: warning: passing arg 2 of
    `chmod' with different width due to prototype
    ./../unix/tclUnixFCmd.c:1127: warning: passing arg 2 of
    `chmod' with different width due to prototype
    ./../unix/tclUnixFCmd.c: In function
    `SetPermissionsAttribute':
    ./../unix/tclUnixFCmd.c:1478: 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.10-STABLE"
  11. type changed to: "Bug"