Overview
| Artifact ID: | 929fe5496904dbf015907db0106a49d006c263e8 |
|---|---|
| Ticket: | 745844ffffffffffffffffffffffffffffffffff
warnings on FreeBSD 4.8-STABLE |
| User & Date: | mistachkin on 2003-05-30 00:39:18 |
Changes
- assignee changed to: "mdejong"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mistachkin"
- subsystem changed to: "52. Portability Support"
- title changed to: "warnings on FreeBSD 4.8-STABLE"
- type changed to: "Bug"