Artifacts Associated With Ticket 745844ffffffffff
Ticket change [929fe54969] (rid 120793) by mistachkin on 2003-05-30 00:39:18:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- comment initialized 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
- 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.8-STABLE"
- type initialized to: "Bug"
Ticket change [53f82aef9a] (rid 93856) by mdejong on 2003-06-24 15:56:36:
- closedate changed to: "2003-06-24T08:56:36"
- closer changed to: "mdejong"
- icomment:
Logged In: YES user_id=90858 I checked in you inet_ntoa(x) fix, but I don't know what to do about the others. I don't have a freebsd system to build on. I suspect the warnings you are seeing related to chmod and the other system calls have something to do with a mismatch in the stat struct. Check into how it it getting defined inside tcl.h for your system. These warnings don't show up on my Linux box, so it seems like you will need to do some more searching to identify the problem since it is specific to your systems set of include files and defines.
- login: "mdejong"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- status changed to: "Closed"
- username: "mdejong"