Artifacts Associated With Ticket 992529ffffffffff
Ticket change [937c26d60a] (rid 105826) by mistachkin on 2004-07-16 19:42:13:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- comment initialized 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
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mistachkin"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "warnings on FreeBSD 4.10-STABLE"
- type initialized to: "Bug"
Ticket change [89fdf45e15] (rid 127316) by mistachkin on 2005-03-03 16:43:21:
- icomment:
Logged In: YES user_id=113501 These warnings still appear in HEAD on FreeBSD 4.11 STABLE: ./../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 The other warnings mentioned above seem to have gone away.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [cea80e46a6] (rid 96093) by mistachkin on 2006-08-29 11:41:35:
- closedate changed to: "2006-08-29T04:41:35"
- closer changed to: "mistachkin"
- icomment:
Logged In: YES user_id=113501 All these warnings are gone from HEAD.
- login: "mistachkin"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- username: "mistachkin"